24 #ifndef CFIELD_OPTICALFLOW
25 #define CFIELD_OPTICALFLOW
29 #define cimg_plugin "plugins/add_fileformat.h"
30 #define cimg_use_netcdf
32 #ifdef cimg_use_netcdf
33 #include "../NetCDF.Tool/struct_parameter_NetCDF.h"
36 #define cimg_plugin2 "plugins/netcdf_file_format4CImg2.h"
37 #define cimglist_plugin2 "plugins/netcdf_file_format4CImgList2.h"
38 #include "../CImg.Tool/CImg_NetCDF.h"
49 template<
typename T,
typename Timg>
58 this->class_name =
"Field : Optical Flow";
62 virtual void init(CParameterNetCDF &fp)
68 shape_factory.m_paramPath = this->m_paramPath;
69 shape_factory.m_verbose = this->m_verbose;
70 this->m_pShape = shape_factory.create(fp);
72 if(this->m_verbose){printf(
"Current step used a shape function : %s\n",this->m_pShape->m_type.c_str());}
73 if(this->m_verbose){printf(
"with %i modes",this->m_pShape->m_dof);}
This factory create a pointer toward the required ShapeFunction class. The pointer creation could onl...
Definition: CshapeFunction_factory.h:45
this class implement the initialization of fields, residue map and deformed image from data coming fr...
Definition: Cfield_opticalFlow.h:50
virtual void init(CParameterNetCDF &fp)
Definition: Cfield_opticalFlow.h:62