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