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 | List of all members
Cfield_opticalFlow_fem< T, Timg > Class Template Reference

In this class, specific projection field method is implemented. In the case of F.E.M. the node value is equal to the field at node position, so "fromField2Mod" simply implements a parallelized loop over elements and extracts from previous fields the node value at node location. More...

#include <Cfield_opticalFlow_fem.h>

Inheritance diagram for Cfield_opticalFlow_fem< T, Timg >:
Cfield_opticalFlow< T, Timg > Cfield< T, Timg > Cfield_intercor< T, Timg > Cfield_opticalFlow_integrated< T, Timg > Cfield_opticalFlow_integrated_block< T, Timg >

Public Member Functions

 Cfield_opticalFlow_fem ()
 
virtual void exec (const Cimage< Timg > &oImage, const Cmesh< T, Timg > &oMesh, CImgList< T > &modes_prev, CshapeFunction< T, Timg > &oShape_prev, const std::vector< T > &ref_prev, const CImgList< T > &nodes_prev)
 
virtual void project (const Cmesh< T, Timg > &oMesh, const Cimage< Timg > &oImage, CImgList< T > &modes_prev, CshapeFunction< T, Timg > &oShape_prev, const std::vector< T > &ref_prev, const CImgList< T > &nodes_prev, CImgList< T > &modes_cur)
 
void OFIU (const Cmesh< T, Timg > &oMesh, const Cimage< Timg > &oImage, CshapeFunction< T, Timg > &oShape_prev, std::vector< T > ref_prev, const CImgList< T > &nodes_prev, CImgList< T > &modes_prev, CImgList< T > &modes_cur)
 
void OFIBU (const Cmesh< T, Timg > &oMesh, const Cimage< Timg > &oImage, CshapeFunction< T, Timg > &oShape_prev, std::vector< T > ref_prev, const CImgList< T > &nodes_prev, const CImgList< T > &modes_prev, CImgList< T > &U)
 
void Field2Field (const CImgList< T > &U, CImgList< T > &modes_cur)
 
- Public Member Functions inherited from Cfield_opticalFlow< T, Timg >
virtual void init (CParameterNetCDF &fp)
 
- Public Member Functions inherited from Cfield< T, Timg >
int num_var ()
 
int grid_dims (const int &i)
 

Additional Inherited Members

- Public Attributes inherited from Cfield< T, Timg >
std::string class_name
 
std::string m_type
 
std::string m_name
 
int num_dim
 
int m_threadNB
 
int _3D
 
bool m_verbose
 
const char * m_paramPath
 
CImgList< T > m_field
 
CImg< T > m_res
 
CImg< T > m_def
 
CImgList< T > m_mode
 
std::vector< T > m_meanRes
 
CImg< T > m_correlogram
 to improve, they shouldn't be here//
 
int m_storeCorrelo
 
CshapeFunction< T, Timg > * m_pShape
 
std::vector< T > m_ref
 

Detailed Description

template<typename T, typename Timg>
class Cfield_opticalFlow_fem< T, Timg >

In this class, specific projection field method is implemented. In the case of F.E.M. the node value is equal to the field at node position, so "fromField2Mod" simply implements a parallelized loop over elements and extracts from previous fields the node value at node location.

Constructor & Destructor Documentation

template<typename T , typename Timg >
Cfield_opticalFlow_fem< T, Timg >::Cfield_opticalFlow_fem ( )
inline

constructor

Member Function Documentation

template<typename T , typename Timg >
virtual void Cfield_opticalFlow_fem< T, Timg >::exec ( const Cimage< Timg > &  oImage,
const Cmesh< T, Timg > &  oMesh,
CImgList< T > &  modes_prev,
CshapeFunction< T, Timg > &  oShape_prev,
const std::vector< T > &  ref_prev,
const CImgList< T > &  nodes_prev 
)
inlinevirtual

assign fields and modes

this->m_mod[nodes_num x dimensions](0) and this->m_mod[dimensions](gridX, gridY, gridZ)

Reimplemented from Cfield< T, Timg >.

Reimplemented in Cfield_opticalFlow_integrated< T, Timg >, Cfield_intercor< T, Timg >, and Cfield_opticalFlow_integrated_block< T, Timg >.

template<typename T , typename Timg >
virtual void Cfield_opticalFlow_fem< T, Timg >::project ( const Cmesh< T, Timg > &  oMesh,
const Cimage< Timg > &  oImage,
CImgList< T > &  modes_prev,
CshapeFunction< T, Timg > &  oShape_prev,
const std::vector< T > &  ref_prev,
const CImgList< T > &  nodes_prev,
CImgList< T > &  modes_cur 
)
inlinevirtual

use the current or the previous "oMesh.num_var()" musn't be problematic since dimensions (i.e. 2D or 3D) remains constant for a set of picture. However the number of modes could change.//

Implements Cfield< T, Timg >.

Reimplemented in Cfield_opticalFlow_integrated< T, Timg >, and Cfield_intercor< T, Timg >.


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