Classes | Defines | Functions

libi4d/ofTimelapseImage.h File Reference

#include <i3d/basic.h>
#include <i3d/vector3d.h>
#include <i3d/voi.h>
#include <i3d/resolution.h>
#include <i3d/image3d.h>
#include <valarray>
#include <vector>

Classes

class  Image4d< VOXEL >
 A class for storing sequence of 3D images. More...

Defines

#define TimeLapseInit   1
#define TimeLapseInsert   2
#define TimeLapseReplace   3
#define TimeLapseAppend   4

Functions

template<class VOXEL >
int Insert2DFrame (Image3d< VOXEL > const &frame, Image3d< VOXEL > &seq, const int time, const char action=TimeLapseReplace, const int count=1)
template<class VOXEL >
int Copy2DFrame (Image3d< VOXEL > const &seq, Image3d< VOXEL > &frame, const int time)
template<class VOXEL >
int Remove2DFrame (Image3d< VOXEL > &seq, const int time, const int count=1)
template<class VOXEL >
int ReadSequence (i3d::Image3d< VOXEL > &seq, const char *NamePrefix, const int Width, const char *NameSuffix, const int StartIndex, const int StopIndex)
template<class VOXEL >
int SaveSequence (i3d::Image3d< VOXEL > const &seq, const char *NamePrefix, const int Width, const char *NameSuffix, const int StartIndex, const int StopIndex)
template<class VIN , class VOUT >
void FloatToGray (const Image4d< VIN > &fimg, Image4d< VOUT > &gimg)
template<class VIN , class VOUT >
void FloatToGrayNoWeight (const Image4d< VIN > &fimg, Image4d< VOUT > &gimg)
template<class VIN , class VOUT >
void GrayToFloat (const Image4d< VIN > &gimg, Image4d< VOUT > &fimg)
template<class VOXEL >
int Insert3DFrame (Image3d< VOXEL > const &frame, Image4d< VOXEL > &seq, const int time, const char action=TimeLapseReplace, const int count=1)
template<class VOXEL >
int Copy3DFrame (Image4d< VOXEL > const &seq, Image3d< VOXEL > &frame, const int time)
template<class VOXEL >
int Remove3DFrame (Image4d< VOXEL > &seq, const int time, const int count=1)
template<class VOXEL >
int InsertGroupOfLines (Image3d< VOXEL > &seq, const float vx, const float vy, const int delta_t, const float gx, const float gy, const int gt, const float lx=0.0f, const float ly=10.0f, const float spacing=2.0f, const int number=10, const VOXEL color=static_cast< VOXEL >(250))