IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SuperPixels2dImgLvl1.h
1 // SuperPixels2dImgLvl1.h:
3 // -----------------------
4 //
13 
14 #ifndef __IPSDKIPLADVANCEDMORPHOLOGY_SUPERPIXELS2DIMGLVL1_H__
15 #define __IPSDKIPLADVANCEDMORPHOLOGY_SUPERPIXELS2DIMGLVL1_H__
16 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Enumerate/InOptSuperPixelsType.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/Working/OutWk1Img.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/Working/OutWk1LabelImg.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutLabelImg.h>
27 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InCompactness.h>
28 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InNbIter.h>
29 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InOptSizeRatio.h>
30 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InSuperPixelsParamValue.h>
31 
32 namespace ipsdk {
33 namespace imaproc {
34 namespace advmorpho {
35 
38 
39 // declare processor class
40 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLAdvancedMorphology, SuperPixels2dImg,
41  ipsdk::imaproc::matchSize(eMatchImageSizeType::eMIST_XYZT, _pInImg, _pOutLabelImg),
42  (((ipsdk)(imaproc)(attr))(InImg))
43  (((ipsdk)(imaproc)(attr))(InSuperPixelsParamValue))
44  (((ipsdk)(imaproc)(attr))(InNbIter))
45  (((ipsdk)(imaproc)(attr))(InCompactness))
46  (((ipsdk)(imaproc)(attr))(InOptSizeRatio))
47  (((ipsdk)(imaproc)(attr))(InOptSuperPixelsType))
48  (((ipsdk)(imaproc)(attr))(OutWk1Img)(duplicateInOut)(_pInImg)(ipsdk::image::eImageBufferType::eIBT_Real32))
49  (((ipsdk)(imaproc)(attr))(OutWk1LabelImg)(duplicateGreyInOut)(_pInImg)(ipsdk::image::eImageBufferType::eIBT_Label32))
50  (((ipsdk)(imaproc)(attr))(OutLabelImg)(duplicateGreyInOut)(_pInImg)(ipsdk::image::eImageBufferType::eIBT_Label32)))
51 
52 // methods
53 public:
54 
55 protected:
56 
57 // attributes
58 protected:
59 
60 };
61 
64 
65 } // end of namespace advmorpho
66 } // end of namespace imaproc
67 } // end of namespace ipsdk
68 
69 #endif // __IPSDKIPLADVANCEDMORPHOLOGY_SUPERPIXELS2DIMGLVL1_H__
Definition of import/export macro for library.
processor::OutputInitializerPtr duplicateGreyInOut(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute, const boost::weak_ptr< InputAttributeType > &pInputAttribute, const eImageInitializerStoragePolicy &storagePolicy=eImageInitializerStoragePolicy::eIISP_Inherit)
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
processor::OutputInitializerPtr duplicateInOut(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute, const boost::weak_ptr< InputAttributeType > &pInputAttribute, const eImageInitializerStoragePolicy &storagePolicy=eImageInitializerStoragePolicy::eIISP_Inherit)