IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Circularity2dMsrInfo.h
1 // Circularity2dMsrInfo.h:
3 // ----------------------
4 //
15 
16 #ifndef __IPSDKIPLSHAPEANALYSIS_CIRCULARITY2DMSRINFO_H__
17 #define __IPSDKIPLSHAPEANALYSIS_CIRCULARITY2DMSRINFO_H__
18 
20 #include <IPSDKIPL/IPSDKIPLShapeAnalysis/Measure/Geometry/Basic/HolesBasicPolicyMsrParams.h>
22 
23 namespace ipsdk {
24 namespace imaproc {
25 namespace shape {
26 namespace analysis {
27 
30 
34 
37 
38 // declare a measure information
40  Circularity2d,
42  ((eMVP_2d)(Area2d)(PolygonArea2d)(createHolesBasicPolicyMsrParams(_pMsrParams->getValue<Circularity2dMsrParams::ProcessHoles>())))
43  ((eMVP_2d)(Perimeter2d)(Perimeter2d)(createHolesBasicPolicyMsrParams(_pMsrParams->getValue<Circularity2dMsrParams::ProcessHoles>()))),
44  eMUF_NoUnit)
45 // methods
46 public:
47 
48 protected:
49 
50 // attributs
51 protected:
52 
53 };
54 
57 
58 } // end of namespace analysis
59 } // end of namespace shape
60 } // end of namespace imaproc
61 } // end of namespace ipsdk
62 
63 #endif // __IPSDKIPLSHAPEANALYSIS_CIRCULARITY2DMSRINFO_H__
#define IPSDK_DECLARE_GENERIC_MEASURE_INFO_WITH_PARAMS(libraryName, msrName, msrResultType, msrDependSeq, msrUnitFormat)
HolesBasicPolicyMsrParams Circularity2dMsrParams
parameter type associated to class
Definition: Circularity2dMsrInfo.h:33
Definition of import/export macro for library.
Parameter object for measures needing a basic hole processing policy.
Definition: HolesBasicPolicyMsrParams.h:41
IPSDKIPLSHAPEANALYSIS_API HolesBasicPolicyMsrParamsPtr createHolesBasicPolicyMsrParams(const ipBool bProcessHoles)
function allowing to create a new parameter object for measures needing a basic hole processing polic...