IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
StatsMsr2dLvl2.h
1 // StatsMsr2dLvl2.h:
3 // -----------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_STATSMSR2DLVL2_H__
16 #define __IPSDKIPLGLOBALMEASURE_STATSMSR2DLVL2_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutStatsResult.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/2d/InSubImg2d.h>
24 
25 namespace ipsdk {
26 namespace imaproc {
27 namespace glbmsr {
28 
31 
32 // declare processor class
33 IPSDK_DECLARE_LVL2_PROCESSOR(ASYNC1, IPSDKIPLGlobalMeasure, StatsMsr2d,
35  (((ipsdk)(imaproc)(attr))(InSubImg2d))
36  (((ipsdk)(imaproc)(attr))(OutStatsResult)))
37 
38 // methods
39 public:
40 
41 protected:
42 
45  ipsdk::core::ExecResult postProcess();
46 
48  void clearIntermediateData();
49 
50 // attributes
51 protected:
52  // declaration of dispatch results collection
53  IPSDK_DECLARE_DYNAMIC_RESULT_COLL(OutStatsResult, OutStatsResultsColl);
54 
55 };
56 
59 
60 } // end of namespace glbmsr
61 } // end of namespace imaproc
62 } // end of namespace ipsdk
63 
64 #endif // __IPSDKIPLGLOBALMEASURE_STATSMSR2DLVL2_H__
#define IPSDK_DECLARE_LVL2_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
IPSDKBASEPROCESSING_API RulePtr none()
Definition of import/export macro for library.
IPSDK_DECLARE_GPU_PROCESSING_ALGORITHM(IPSDKIPLFiltering, Convolution2dImg, ipsdk::imaproc::matchSize(_pInSubGpuImg, _pOutImg),(((ipsdk)(imaproc)(attr))(InSubGpuImg))(((ipsdk)(imaproc)(attr))(InKnlXY))(((ipsdk)(imaproc)(attr))(InNormalize))(((ipsdk)(imaproc)(attr))(InConvolBorder2d))(((ipsdk)(imaproc)(attr))(OutImg))) IPSDKCUDA_DECLARE_ALGORITHM_FUNCTION_SELECTOR((InSubGpuImg)(OutImg)) public void clearIntermediateData()
method called before processing
#define IPSDK_DECLARE_DYNAMIC_RESULT_COLL(AttributeType, CollType)