IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
GenericSeededDistanceMap2dImgLvl1.h
1 // GenericSeededDistanceMap2dImgLvl1.h:
3 // ------------------------------------
4 //
14 
15 #ifndef __IPSDKIPLADVANCEDMORPHOLOGY_GENERICSEEDEDDISTANCEMAP2DIMGLVL1_H__
16 #define __IPSDKIPLADVANCEDMORPHOLOGY_GENERICSEEDEDDISTANCEMAP2DIMGLVL1_H__
17 
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InDistWeight2d.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InBinImg.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InBinSeedImg.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InOptMaxDistance.h>
27 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutDistImg.h>
28 
29 namespace ipsdk {
30 namespace imaproc {
31 namespace advmorpho {
32 
35 
36 // declare processor class
37 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLAdvancedMorphology, GenericSeededDistanceMap2dImg,
38  (ipsdk::imaproc::matchSize(_pInBinImg, _pOutDistImg)) &&
39  (ipsdk::imaproc::matchSize(_pInBinSeedImg, _pOutDistImg)),
40  (((ipsdk)(imaproc)(attr))(InBinImg))
41  (((ipsdk)(imaproc)(attr))(InBinSeedImg))
42  (((ipsdk)(imaproc)(attr))(InDistWeight2d))
43  (((ipsdk)(imaproc)(attr))(InOptMaxDistance))
44  (((ipsdk)(imaproc)(attr))(OutDistImg)(ipsdk::imaproc::duplicateInOut)(_pInBinImg)(ipsdk::image::eImageBufferType::eIBT_Real32)))
45 
46 // methods
47 public:
48 
49 // attributes
50 protected:
51 
52 };
53 
56 
57 } // end of namespace advmorpho
58 } // end of namespace imaproc
59 } // end of namespace ipsdk
60 
61 #endif // __IPSDKIPLADVANCEDMORPHOLOGY_GENERICSEEDEDDISTANCEMAP2DIMGLVL1_H__
Definition of import/export macro for library.
#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)