IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
GlobalEntropyMsr2dLvl1.h
1 // GlobalEntropyMsr2dLvl1.h:
3 // -----------------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_GLOBALENTROPYMSR2DLVL1_H__
16 #define __IPSDKIPLGLOBALMEASURE_GLOBALENTROPYMSR2DLVL1_H__
17 
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InOptPIHistoMsrParams.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutPIGlobalEntropyResult.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace glbmsr {
30 
33 
34 // declare processor class
35 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLGlobalMeasure, GlobalEntropyMsr2d,
36  ipsdk::imaproc::matchImagePlans(_pOutPIGlobalEntropyResult, _pInImg, eImagePlansMatchPolicy::eIPMP_ZCT) &&
37  ipsdk::processor::ifIsSet(_pInOptPIHistoMsrParams,
38  ipsdk::imaproc::matchImagePlans(_pInOptPIHistoMsrParams, _pInImg, eImagePlansMatchPolicy::eIPMP_ZCT)),
39  (((ipsdk)(imaproc)(attr))(InImg))
40  (((ipsdk)(imaproc)(attr))(InOptPIHistoMsrParams))
41  (((ipsdk)(imaproc)(attr))(OutPIGlobalEntropyResult)(ipsdk::imaproc::fromImage)(_pInImg)))
42 
43 // methods
44 public:
45 
46 protected:
47 
48 // attributes
49 protected:
50 
51 };
52 
55 
56 } // end of namespace glbmsr
57 } // end of namespace imaproc
58 } // end of namespace ipsdk
59 
60 #endif // __IPSDKIPLGLOBALMEASURE_GLOBALENTROPYMSR2DLVL1_H__
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
boost::enable_if_c< AttributeType::g_bOptional, RulePtr >::type ifIsSet(const boost::shared_ptr< AttributeType > &pAttribute, const RulePtr &pRuleTrue)
processor::OutputInitializerPtr fromImage(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute, const ImageAttributeConstWeakPtr &pInputImageAttribute, const eFromImagePlanIndexedPolicy &fromImagePlanIndexedPolicy)
Definition of import/export macro for library.