IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
StatsMsr2dLvl3.h
1 // StatsMsr2dLvl3.h:
3 // -----------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_STATSMSR2DLVL3_H__
16 #define __IPSDKIPLGLOBALMEASURE_STATSMSR2DLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutStatsResult.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InYStrip2d.h>
24 
25 namespace ipsdk {
26 namespace imaproc {
27 namespace glbmsr {
28 
31 
32 // declare processing algorithm
33 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLGlobalMeasure, StatsMsr2d,
35  (((ipsdk)(imaproc)(attr))(InYStrip2d))
36  (((ipsdk)(imaproc)(attr))(OutStatsResult)))
37 
38  // implementation of image processing data identifier retrieval method
39  // for function selector usage
40  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InYStrip2d)));
41 
42  // declaration of parsed data during processing
43  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((RAWSTRIP)(InYStrip2d)));
44 
45 // methods
46 public:
47 
48 protected:
52 
55  ipsdk::core::ExecResult postProcess();
56 
58  template <typename BufType,
59  ipsdk::eInstructionSet::domain IS>
60  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
61 
62 // attributes
63 protected:
64  ipsdk::ipReal64 _fSumSq;
65 
66 };
67 
70 
71 } // end of namespace glbmsr
72 } // end of namespace imaproc
73 } // end of namespace ipsdk
74 
75 #endif // __IPSDKIPLGLOBALMEASURE_STATSMSR2DLVL3_H__
IPSDKBASEPROCESSING_API RulePtr none()
double ipReal64
ipsdk::core::ExecResult preProcess()
method called before processing
#define IPSDK_DECLARE_PROCESSING_ALGORITHM(libraryName, algoName, RuleString, attributeSeq)
#define IPSDK_DECLARE_ALGORITHM_PARSED_DATA(dataSeq)
Definition of import/export macro for library.
#define IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(dataTypeSeq)