IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
AreaPercent2dMsrLvl1.h
1 // AreaPercent2dMsrLvl1.h:
3 // -----------------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_AREAPERCENT2DMSRLVL1_H__
16 #define __IPSDKIPLGLOBALMEASURE_AREAPERCENT2DMSRLVL1_H__
17 
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutPIValues.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InBinLabImg.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/Optional/InOptMaskImg.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace glbmsr {
30 
33 
34 // declare processor class
35 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLGlobalMeasure, AreaPercent2dMsr,
37  ipsdk::imaproc::matchSize(_pInBinLabImg, _pInOptMaskImg),
39  ipsdk::imaproc::matchImagePlans(_pOutPIValues, _pInBinLabImg, eImagePlansMatchPolicy::eIPMP_ZCT),
40  (((ipsdk)(imaproc)(attr))(InBinLabImg))
41  (((ipsdk)(imaproc)(attr))(InOptMaskImg))
42  (((ipsdk)(imaproc)(attr))(OutPIValues)(ipsdk::imaproc::fromImage)(_pInBinLabImg)))
43 
44 // methods
45 public:
46 
47 protected:
48 
49 // attributes
50 protected:
51 
52 };
53 
56 
57 } // end of namespace glbmsr
58 } // end of namespace imaproc
59 } // end of namespace ipsdk
60 
61 #endif // __IPSDKIPLGLOBALMEASURE_AREAPERCENT2DMSRLVL1_H__
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
IPSDKBASEPROCESSING_API RulePtr none()
processor::OutputInitializerPtr fromImage(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute, const ImageAttributeConstWeakPtr &pInputImageAttribute, const eFromImagePlanIndexedPolicy &fromImagePlanIndexedPolicy)
boost::enable_if_c< AttributeType::g_bOptional, RulePtr >::type isSet(const boost::shared_ptr< AttributeType > &pAttribute)
Definition of import/export macro for library.
IPSDKBASEPROCESSING_API RulePtr If(const RulePtr &pPredicate, const RulePtr &pRuleTrue)