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< Timg > Class Template Referenceabstract

#include <Cimage.h>

Inheritance diagram for Cimage< Timg >:
Cimage_file< Timg > Cimage_grab< Timg >

Public Member Functions

virtual void init (CParameterNetCDF &fp)
 
void exec (int argc, char *argv[], const int &sample=0)
 
virtual void load_paths (CParameterNetCDF &fp)=0
 
virtual void load_images (CImg< char > &list, std::string &dir, 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

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
 

Detailed Description

template<typename Timg>
class Cimage< Timg >

<Timg> : image format

Member Function Documentation

template<typename Timg>
void Cimage< Timg >::resize ( const int &  filter)
inline

If piramidal filter is used [m_img, m_mask, m_curImg, m_curMask] are stored in memory otherwise m_curImg and m_curMask are built as shard version of m_img and m_mask

Todo:
The function .get_shared() seems, weirdly, to duplicate the memory, so it could be necessary to replace the .get_shared by the following function (m_img).move_to(m_curImg);
template<typename Timg>
template<typename T >
void Cimage< Timg >::save_netcdf ( CImgList< T > &  img,
std::string  name = "images",
const int &  sample = 0 
) const
inline

length of variable index

template<typename Timg>
template<typename T >
void Cimage< Timg >::save_unlimited ( CImgList< T > &  imgOut,
std::string &  fileOut,
const int &  i 
) const
inline

plugin for unlimited save_netcdf requires to enforce x,y,z and c dimensions to create the unlimited one

template<typename Timg>
template<typename T >
void Cimage< Timg >::save_unlimited ( CImg< T > &  imgOut,
std::string &  fileOut,
const int &  i 
) const
inline

plugin for unlimited save_netcdf requires to enforce x,y,z and c dimensions to create the unlimited one


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