IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
StatsMsr3dLvl3.h
1 // StatsMsr3dLvl3.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_STATSMSR3DLVL3_H__
16 #define __IPSDKIPLGLOBALMEASURE_STATSMSR3DLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/ZStrip3d/InZStrip3d.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutStatsResult.h>
24 
25 namespace ipsdk {
26 namespace imaproc {
27 namespace glbmsr {
28 
31 
32 // declare processing algorithm
33 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLGlobalMeasure, StatsMsr3d,
35  (((ipsdk)(imaproc)(attr))(InZStrip3d))
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)(InZStrip3d)));
41 
42  // declaration of parsed data during processing
43  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((RAWSTRIP)(InZStrip3d)));
44 
45 // methods
46 public:
50 
53  core::ExecResult postProcess();
54 
55 
56 protected:
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 
69 
70 } // end of namespace glbmsr
71 } // end of namespace imaproc
72 } // end of namespace ipsdk
73 
74 #endif // __IPSDKIPLGLOBALMEASURE_STATSMSRLVL3_H__
IPSDKBASEPROCESSING_API RulePtr none()
double ipReal64
ipsdk::core::ExecResult preProcess()
method called before processing
ProcessingResult< eExecutionResult > ExecResult
#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)