IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
PearsonCorrelationCoefficient2dLvl2.h
1 // PearsonCorrelationCoefficient2dLvl2.h:
3 // --------------------------------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_PEARSONCORRELATIONCOEFFICIENT2DLVL2_H__
16 #define __IPSDKIPLGLOBALMEASURE_PEARSONCORRELATIONCOEFFICIENT2DLVL2_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/2d/InSubImg2d1.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/2d/InSubImg2d2.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutPearsonCCResult.h>
25 
26 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/StatsResult.h>
27 
28 namespace ipsdk {
29 namespace imaproc {
30 namespace glbmsr {
31 
34 
35 // declare processor class
36 IPSDK_DECLARE_LVL2_PROCESSOR(ASYNC3, IPSDKIPLGlobalMeasure, PearsonCorrelationCoefficient2d,
37  ipsdk::imaproc::matchSize(_pInSubImg2d1, _pInSubImg2d2),
38  (((ipsdk)(imaproc)(attr))(InSubImg2d1))
39  (((ipsdk)(imaproc)(attr))(InSubImg2d2))
40  (((ipsdk)(imaproc)(attr))(OutPearsonCCResult)))
41 
42 // methods
43 public:
44 
45 protected:
46 
49  ipsdk::core::ExecResult postProcess();
50 
52  void clearIntermediateData();
53 
54 // attributes
55 protected:
56  // declaration of dispatch results collection
57  IPSDK_DECLARE_DYNAMIC_RESULT_COLL(attr::OutPearsonCCResult, OutPearsonCCResultColl);
58 
60  attr::StatsResultPtr _pStatsResults1;
61 
63  attr::StatsResultPtr _pStatsResults2;
64 
65 };
66 
69 
70 } // end of namespace glbmsr
71 } // end of namespace imaproc
72 } // end of namespace ipsdk
73 
74 #endif // __IPSDKIPLGLOBALMEASURE_PEARSONCORRELATIONCOEFFICIENT2DLVL2_H__
#define IPSDK_DECLARE_LVL2_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
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)
boost::shared_ptr< ipsdk::imaproc::attr::StatsResult > StatsResultPtr
shared pointer to ipsdk::imaproc::attr::StatsResult
Definition: StatsResult.h:206