IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
StatsMaskMsr2dLvl3.h
1 // StatsMaskMsr2dLvl3.h:
3 // ---------------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_STATSMASKMSR2DLVL3_H__
16 #define __IPSDKIPLGLOBALMEASURE_STATSMASKMSR2DLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutStatsResult.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InMaskYStrip2d.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InYStrip2d.h>
25 
26 namespace ipsdk {
27 namespace imaproc {
28 namespace glbmsr {
29 
32 
33 // declare processing algorithm
34 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLGlobalMeasure, StatsMaskMsr2d,
36  (((ipsdk)(imaproc)(attr))(InYStrip2d))
37  (((ipsdk)(imaproc)(attr))(InMaskYStrip2d))
38  (((ipsdk)(imaproc)(attr))(OutStatsResult)))
39 
40  // implementation of image processing data identifier retrieval method
41  // for function selector usage
42  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InYStrip2d)));
43 
44  // declaration of parsed data during processing
45  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((RAWSTRIP)(InYStrip2d))
46  ((RAWSTRIP)(InMaskYStrip2d)));
47 
48 // methods
49 public:
50 
51 protected:
55 
58  ipsdk::core::ExecResult postProcess();
59 
61  template <typename BufType,
62  ipsdk::eInstructionSet::domain IS>
63  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
64 
65 // attributes
66 protected:
67  ipsdk::ipReal64 _fSumSq;
68 
69 };
70 
73 
74 } // end of namespace glbmsr
75 } // end of namespace imaproc
76 } // end of namespace ipsdk
77 
78 #endif // __IPSDKIPLGLOBALMEASURE_STATSMASKMSR2DLVL3_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)