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