IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
HuDistance2dMsrInfo.h
1 // HuDistance2dMsrInfo.h:
3 // ----------------------
4 //
15 
16 #ifndef __IPSDKIPLSHAPEANALYSIS_HUDISTANCE2DMSRINFO_H__
17 #define __IPSDKIPLSHAPEANALYSIS_HUDISTANCE2DMSRINFO_H__
18 
20 #include <IPSDKIPL/IPSDKIPLShapeAnalysis/Measure/Geometry/Matching/HuDistance2d/HuDistance2dMsrParams.h>
21 #include <IPSDKIPL/IPSDKIPLShapeAnalysis/Measure/Geometry/Basic/HolesBasicPolicyMsrParams.h>
23 
24 namespace ipsdk {
25 namespace imaproc {
26 namespace shape {
27 namespace analysis {
28 
31 
32 // declare a measure information
34  HuDistance2d,
36  ((eMVP_2d)(HuMoments2d)(HuMoments2d)(createHolesBasicPolicyMsrParams(_pMsrParams->getValue<HuDistance2dMsrParams::ProcessHoles>()))),
37  eMSR_RequireShapeBoundaryApprox,
38  eMUF_NoUnit)
39 
40 // methods
41 public:
42 
43 protected:
44 
45 // attributs
46 protected:
47 
48 };
49 
52 
53 } // end of namespace analysis
54 } // end of namespace shape
55 } // end of namespace imaproc
56 } // end of namespace ipsdk
57 
58 #endif // __IPSDKIPLSHAPEANALYSIS_HUDISTANCE2DMSRINFO_H__
Definition of import/export macro for library.
IPSDKIPLSHAPEANALYSIS_API HolesBasicPolicyMsrParamsPtr createHolesBasicPolicyMsrParams(const ipBool bProcessHoles)
function allowing to create a new parameter object for measures needing a basic hole processing polic...
#define IPSDK_DECLARE_GEOMETRY2D_MEASURE_INFO_WITH_PARAMS(libraryName, msrName, msrResultType, msrDependSeq, msrShapeRequirements, msrUnitFormat)