YaDICs  V04.14.a
Yet another Digital Image Correlation software: platform dedicated to 2/3D Fluid and Solid kinematics field measurements.
 All Classes Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
Cimage_grab< Timg > Class Template Reference
Inheritance diagram for Cimage_grab< Timg >:
Cimage_file< Timg > Cimage< Timg >

Public Member Functions

virtual void load_paths (CParameterNetCDF &fp)
 
int open_device (HANDLE &xiH, XI_IMG &image)
 
int set_device (HANDLE &xiH, int &exposure, int &offset_x, int &offset_y, int &width, int &height, float &fps)
 
void grab (HANDLE &xiH, XI_IMG &image, CImg< unsigned char > &buffer, CImgList< double > &time, int const &bframe, int &frame)
 
virtual void load_images (CImg< char > &list, std::string &dir, const int &sample)
 
- Public Member Functions inherited from Cimage_file< Timg >
virtual void init (CParameterNetCDF &fp)
 
- Public Member Functions inherited from Cimage< Timg >
void exec (int argc, char *argv[], const int &sample=0)
 
void load_mask (std::string &name, std::string &dir)
 
void resize (const int &filter)
 
template<typename T >
void save_netcdf (CImgList< T > &img, std::string name="images", const int &sample=0) const
 
template<typename T >
void save_netcdf (CImg< T > &img, std::string name="images", const int sample=0) const
 
template<typename T >
void save_unlimited (CImgList< T > &imgOut, std::string &fileOut, const int &i) const
 
template<typename T >
void save_unlimited (CImg< T > &imgOut, std::string &fileOut, const int &i) const
 
int num_var () const
 
int cur_dim (const int &i) const
 
int dim (const int &i) const
 
int num_dims () const
 
int num_samples () const
 

Public Attributes

CImgList< double > m_time
 
CImg< unsigned char > m_cam_get
 
int m_image_exposure
 
int m_frame
 
int m_image_width
 
int m_image_height
 
int m_offset_x
 
int m_offset_y
 
float m_fps
 
XI_IMG m_image
 
HANDLE m_xiH
 
- Public Attributes inherited from Cimage< Timg >
std::string class_name
 
std::string m_name
 
std::string m_type
 
CImgList< Timg > m_img
 
CImgList< Timg > m_curImg
 
CImg< char > m_mask
 
CImg< char > m_curMask
 
CImg< char > m_list
 
std::vector< float > m_pix
 
std::string m_maskName
 
std::string m_dirPath
 
int m_dim_sample
 
int m_dim_image
 
int m_dim
 
int m_storeImg
 
int m_storeDef
 
int m_storeRes
 
int m_storeField
 
int m_storeStr
 
int m_storeActiv
 
int m_display
 
int m_mode
 
float m_Rpxmm
 
std::string m_oFormat
 
float m_res
 
bool m_verbose
 
const char * m_paramPath
 

Member Function Documentation

template<typename Timg >
virtual void Cimage_grab< Timg >::load_images ( CImg< char > &  list,
std::string &  dir,
const int &  sample 
)
inlinevirtual

here m_get is an unsigned char and one cast m_get in <T> throw the following line, it should be improved

Reimplemented from Cimage_file< Timg >.


The documentation for this class was generated from the following file: