IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
VolumePercent3dMsrLvl1.h
1 // VolumePercent3dMsrLvl1.h:
3 // -------------------------
4 //
16 
17 #ifndef __IPSDKIPLGLOBALMEASURE_VOLUMEPERCENT3DMSRLVL1_H__
18 #define __IPSDKIPLGLOBALMEASURE_VOLUMEPERCENT3DMSRLVL1_H__
19 
23 
24 // Attributes headers
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutPIValues.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/3d/InBinLabImg3d.h>
27 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/Optional/InOptMaskImg.h>
28 
29 namespace ipsdk {
30 namespace imaproc {
31 namespace glbmsr {
32 
35 
36 // declare processor class
37 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLGlobalMeasure, VolumePercent3dMsr,
39  ipsdk::imaproc::matchSize(_pInBinLabImg3d, _pInOptMaskImg),
41  ipsdk::imaproc::matchImagePlans(_pOutPIValues, _pInBinLabImg3d, eImagePlansMatchPolicy::eIPMP_CT),
42  (((ipsdk)(imaproc)(attr))(InBinLabImg3d))
43  (((ipsdk)(imaproc)(attr))(InOptMaskImg))
44  (((ipsdk)(imaproc)(attr))(OutPIValues)(ipsdk::imaproc::fromImageButVolume)(_pInBinLabImg3d)))
45 
46 // methods
47 public:
48 
49 protected:
50 
51 // attributes
52 protected:
53 
54 };
55 
58 
59 } // end of namespace glbmsr
60 } // end of namespace imaproc
61 } // end of namespace ipsdk
62 
63 #endif // __IPSDKIPLGLOBALMEASURE_VOLUMEPERCENT3DMSRLVL1_H__
processor::OutputInitializerPtr fromImageButVolume(const boost::shared_ptr< OutputAttributeType > &pOutputAttribute, const ImageAttributeConstPtr &pInputAttribute)
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
IPSDKBASEPROCESSING_API RulePtr none()
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)