IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Kurtosis2dImgLvl3.h
1 // Kurtosis2dImgLvl3.h:
3 // --------------------
4 //
15 
16 #ifndef __IPSDKIPLSTATS_KURTOSIS2DIMGLVL3_H__
17 #define __IPSDKIPLSTATS_KURTOSIS2DIMGLVL3_H__
18 
22 
23 // Attributes headers
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2dWithKernel/InKnlYStrip2d.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/OutYStrip2d.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace stats {
30 
33 
34 // declare processing algorithm
35 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLStats, Kurtosis2dImg,
36  ipsdk::imaproc::matchSize(_pInKnlYStrip2d, _pOutYStrip2d),
37  (((ipsdk)(imaproc)(attr))(InKnlYStrip2d))
38  (((ipsdk)(imaproc)(attr))(OutYStrip2d)))
39 
40  // implementation of image processing data identifier retrieval method
41  // for function selector usage
42  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InKnlYStrip2d))
43  ((STRIP)(OutYStrip2d)));
44 
45  // declaration of parsed data during processing
46  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((LINESTRIP)(InKnlYStrip2d))
47  ((LINESTRIP)(OutYStrip2d)));
48 
49 // methods
50 public:
51 
52 protected:
56 
58  template <typename BufInType, typename BufOutType,
59  ipsdk::eInstructionSet::domain IS>
60  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
61 
62 // attributes
63 protected:
66  FragHybridBufferPtr _pInitialXMean;
67  FragHybridBufferPtr _pMainXMean;
68  FragHybridBufferPtr _pFinalXMean;
69  FragHybridBufferPtr _pInitialXMeanSq;
70  FragHybridBufferPtr _pMainXMeanSq;
71  FragHybridBufferPtr _pFinalXMeanSq;
72  FragHybridBufferPtr _pInitialXMeanCu;
73  FragHybridBufferPtr _pMainXMeanCu;
74  FragHybridBufferPtr _pFinalXMeanCu;
75  FragHybridBufferPtr _pInitialXMeanQuad;
76  FragHybridBufferPtr _pMainXMeanQuad;
77  FragHybridBufferPtr _pFinalXMeanQuad;
79 
82  HybridBufferPtr _pInitialXYMean;
83  HybridBufferPtr _pMainXYMean;
84  HybridBufferPtr _pFinalXYMean;
85  HybridBufferPtr _pInitialXYMeanSq;
86  HybridBufferPtr _pMainXYMeanSq;
87  HybridBufferPtr _pFinalXYMeanSq;
88  HybridBufferPtr _pInitialXYMeanCu;
89  HybridBufferPtr _pMainXYMeanCu;
90  HybridBufferPtr _pFinalXYMeanCu;
91  HybridBufferPtr _pInitialXYMeanQuad;
92  HybridBufferPtr _pMainXYMeanQuad;
93  HybridBufferPtr _pFinalXYMeanQuad;
95 };
96 
99 
100 } // end of namespace stats
101 } // end of namespace imaproc
102 } // end of namespace ipsdk
103 
104 #endif // __IPSDKIPLSTATS_KURTOSIS2DIMGLVL3_H__
boost::shared_ptr< FragHybridBuffer > FragHybridBufferPtr
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)
boost::shared_ptr< HybridBuffer > HybridBufferPtr