IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
KMeansPosterizeImgLvl2.h
1 // KMeansPosterizeImgLvl2.h:
3 // -------------------------
4 //
14 
15 #ifndef __IPSDKIPLCLASSIFICATION_KMEANSPOSTERIZEIMGLVL2_H__
16 #define __IPSDKIPLCLASSIFICATION_KMEANSPOSTERIZEIMGLVL2_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InFlattenedClustersCenters.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/2d/InSubClassImg2d.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/2d/InSubSeqImg2d.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutPosterizedImg.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/2d/Optional/InOptSingleGreyMaskSubImg2d.h>
27 
28 namespace ipsdk {
29 namespace imaproc {
30 namespace classif {
31 
34 
35 // declare processor class
36 IPSDK_DECLARE_LVL2_PROCESSOR(ASYNC1, IPSDKIPLClassification, KMeansPosterizeImg,
37  ipsdk::processor::If(ipsdk::processor::isSet(_pInOptSingleGreyMaskSubImg2d),
38  ipsdk::imaproc::matchSize(eMatchImageSizeType::eMIST_2d, _pInSubClassImg2d, _pInOptSingleGreyMaskSubImg2d),
40  (((ipsdk)(imaproc)(attr))(InFlattenedClustersCenters))
41  (((ipsdk)(imaproc)(attr))(InSubClassImg2d))
42  (((ipsdk)(imaproc)(attr))(InOptSingleGreyMaskSubImg2d))
43  (((ipsdk)(imaproc)(attr))(OutPosterizedImg)))
44 
45 // methods
46 public:
47 
48 protected:
49 
50 // attributes
51 protected:
52 
53 };
54 
57 
58 } // end of namespace classif
59 } // end of namespace imaproc
60 } // end of namespace ipsdk
61 
62 #endif // __IPSDKIPLCLASSIFICATION_KMEANSPOSTERIZEIMGLVL2_H__
#define IPSDK_DECLARE_LVL2_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
IPSDKBASEPROCESSING_API RulePtr none()
Definition of import/export macro for library.
boost::enable_if_c< AttributeType::g_bOptional, RulePtr >::type isSet(const boost::shared_ptr< AttributeType > &pAttribute)
IPSDKBASEPROCESSING_API RulePtr If(const RulePtr &pPredicate, const RulePtr &pRuleTrue)