IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
HighPass2dImgLvl3.h
1 // HighPass2dImgLvl3.h:
3 // -----------------------------
4 //
14 
15 #ifndef __IPSDKIPLFILTERING_HIGHPASS2DIMGLVL3_H__
16 #define __IPSDKIPLFILTERING_HIGHPASS2DIMGLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2dWithKernel/InKnlYStrip2d.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/OutYStrip2d.h>
24 
25 namespace ipsdk {
26 namespace imaproc {
27 namespace filter {
28 
31 
32 // declare processing algorithm
33 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLFiltering, HighPass2dImg,
34  ipsdk::imaproc::matchSize(_pInKnlYStrip2d, _pOutYStrip2d),
35  (((ipsdk)(imaproc)(attr))(InKnlYStrip2d))
36  (((ipsdk)(imaproc)(attr))(OutYStrip2d)))
37 
38  // implementation of image processing data identifier retrieval method
39  // for function selector usage
40  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InKnlYStrip2d))
41  ((STRIP)(OutYStrip2d)));
42 
43  // declaration of parsed data during processing
44  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((LINESTRIP)(InKnlYStrip2d))
45  ((LINESTRIP)(OutYStrip2d)));
46 
47 // methods
48 public:
49 
50 protected:
54 
56  template <typename BufInType, typename BufOutType,
57  ipsdk::eInstructionSet::domain IS>
58  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
59 
60 // attributes
61 protected:
64  FragHybridBufferPtr _pInitialXSum;
65  FragHybridBufferPtr _pMainXSum;
66  FragHybridBufferPtr _pFinalXSum;
68 
71  HybridBufferPtr _pInitialXYSum;
72  HybridBufferPtr _pMainXYSum;
73  HybridBufferPtr _pFinalXYSum;
75 };
76 
79 
80 } // end of namespace filter
81 } // end of namespace imaproc
82 } // end of namespace ipsdk
83 
84 #endif // __IPSDKIPLFILTERING_HIGHPASS2DIMGLVL3_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.