IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
MeanSmoothing2dImgLvl3.h
1 // MeanSmoothing2dImgLvl3.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKIPLFILTERING_MEANSMOOTHING2DIMGLVL3_H__
16 #define __IPSDKIPLFILTERING_MEANSMOOTHING2DIMGLVL3_H__
17 
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2dWithKernel/InKnlYStrip2d.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/OutYStrip2d.h>
25 
26 namespace ipsdk {
27 namespace imaproc {
28 namespace filter {
29 
32 
33 // declare processing algorithm
34 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLFiltering, MeanSmoothing2dImg,
35  ipsdk::imaproc::matchSize(_pInKnlYStrip2d, _pOutYStrip2d),
36  (((ipsdk)(imaproc)(attr))(InKnlYStrip2d))
37  (((ipsdk)(imaproc)(attr))(OutYStrip2d)))
38 
39  // implementation of image processing data identifier retrieval method
40  // for function selector usage
41  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InKnlYStrip2d))
42  ((STRIP)(OutYStrip2d)));
43 
44  // declaration of parsed data during processing
45  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((LINESTRIP)(InKnlYStrip2d))
46  ((LINESTRIP)(OutYStrip2d)));
47 
48 // methods
49 public:
50 
51 protected:
55 
57  template <typename BufInType, typename BufOutType,
58  ipsdk::eInstructionSet::domain IS>
59  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
60 
61 // attributes
62 protected:
65  FragHybridBufferPtr _pInitialXMean;
66  FragHybridBufferPtr _pMainXMean;
67  FragHybridBufferPtr _pFinalXMean;
69 
72  HybridBufferPtr _pInitialXYMean;
73  HybridBufferPtr _pMainXYMean;
74  HybridBufferPtr _pFinalXYMean;
76 };
77 
80 
81 } // end of namespace filter
82 } // end of namespace imaproc
83 } // end of namespace ipsdk
84 
85 #endif // __IPSDKIPLFILTERING_MEANSMOOTHING2DIMGLVL3_H__
boost::shared_ptr< FragHybridBuffer > FragHybridBufferPtr
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)
boost::shared_ptr< HybridBuffer > HybridBufferPtr
Definition of import/export macro for library.