IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
HuDistance2dMsrParams.h
1 // HuDistance2dMsrParams.h:
3 // ------------------------
4 //
15 
16 #ifndef __IPSDKIPLSHAPEANALYSIS_HUDISTANCE2DMSRPARAMS_H__
17 #define __IPSDKIPLSHAPEANALYSIS_HUDISTANCE2DMSRPARAMS_H__
18 
22 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/HuMoments.h>
24 
25 namespace ipsdk {
26 namespace imaproc {
27 namespace shape {
28 namespace analysis {
29 
32 
33 IPSDK_DECLARE_NODE_DATA(IPSDKIPLShapeAnalysis, HuDistance2dMsrParams,
34  ((LEAF)(ProcessHoles)(ipsdk::ipBool)(false))
35  ((ENUMLEAF)(DistanceType)(ipsdk::geom::eShapeHuDistanceType)(ipsdk::geom::eShapeHuDistanceType::eSDT_Type3))
36  ((NODE)(ShapeHuMoments)(ipsdk::imaproc::attr::HuMoments)))
37 };
38 
41 
43 typedef boost::shared_ptr<HuDistance2dMsrParams> HuDistance2dMsrParamsPtr;
44 
46 typedef boost::shared_ptr<const HuDistance2dMsrParams> HuDistance2dMsrParamsConstPtr;
47 
50 
54  const ipsdk::ipBool bProcessHoles = false,
55  const ipsdk::geom::eShapeHuDistanceType& distanceType = ipsdk::geom::eShapeHuDistanceType::eSDT_Type3);
56 
59 
60 } // end of namespace analysis
61 } // end of namespace shape
62 } // end of namespace imaproc
63 } // end of namespace ipsdk
64 
65 #endif // __IPSDKIPLSHAPEANALYSIS_HUDISTANCE2DMSRPARAMS_H__
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
boost::shared_ptr< const HuDistance2dMsrParams > HuDistance2dMsrParamsConstPtr
shared pointer to const HuDistance2dMsrParams
Definition: HuDistance2dMsrParams.h:135
IPSDKIPLSHAPEANALYSIS_API HuDistance2dMsrParamsPtr createHuDistance2dMsrParams(const ipsdk::geom::Shape2d &shape2d, const ipsdk::ipBool bProcessHoles=false, const ipsdk::geom::eShapeHuDistanceType &distanceType=ipsdk::geom::eShapeHuDistanceType::eSDT_Type3)
function allowing to create a new parameter object for HuDistance2d measure
Definition of import/export macro for library.
boost::shared_ptr< HuDistance2dMsrParams > HuDistance2dMsrParamsPtr
shared pointer to HuDistance2dMsrParams
Definition: HuDistance2dMsrParams.h:132
bool ipBool
#define IPSDKIPLSHAPEANALYSIS_API
Import/Export macro for library IPSDKIPLShapeAnalysis.
Definition: IPSDKIPLShapeAnalysisExports.h:25
Hu moments of a shape.
Definition: HuMoments.h:66