IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
DilateLabel2dImgLvl3.h
1 // DilateLabel2dImgLvl3.h:
3 // -----------------------
4 //
14 
15 #ifndef __IPSDKIPLADVANCEDMORPHOLOGY_DILATELABEL2DIMGLVL3_H__
16 #define __IPSDKIPLADVANCEDMORPHOLOGY_DILATELABEL2DIMGLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutNbModifiedPixels.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/OutLabelYStrip2d.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2dWithKernel/InKnlLabelYStrip2d.h>
25 
26 namespace ipsdk {
27 namespace imaproc {
28 namespace advmorpho {
29 
32 
33 // declare processing algorithm
34 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLAdvancedMorphology, DilateLabel2dImg,
35  ipsdk::imaproc::matchSizeAndType(_pInKnlLabelYStrip2d, _pOutLabelYStrip2d),
36  (((ipsdk)(imaproc)(attr))(InKnlLabelYStrip2d))
37  (((ipsdk)(imaproc)(attr))(OutNbModifiedPixels))
38  (((ipsdk)(imaproc)(attr))(OutLabelYStrip2d)))
39 
40  // implementation of image processing data identifier retrieval method
41  // for function selector usage
42  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InKnlLabelYStrip2d)));
43 
44  // declaration of parsed data during processing
45  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((LINESTRIP)(InKnlLabelYStrip2d))
46  ((LINESTRIP)(OutLabelYStrip2d)));
47 
48 // methods
49 public:
50 
51 protected:
55 
57  template <typename T,
58  ipsdk::eInstructionSet::domain IS>
59  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
60 
61 // attributes
62 protected:
63 
64 };
65 
68 
69 } // end of namespace advmorpho
70 } // end of namespace imaproc
71 } // end of namespace ipsdk
72 
73 #endif // __IPSDKIPLADVANCEDMORPHOLOGY_DILATELABEL2DIMGLVL3_H__
Definition of import/export macro for library.
ipsdk::core::ExecResult preProcess()
method called before processing
#define IPSDK_DECLARE_PROCESSING_ALGORITHM(libraryName, algoName, RuleString, attributeSeq)
#define IPSDK_DECLARE_ALGORITHM_PARSED_DATA(dataSeq)
#define IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(dataTypeSeq)