IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
PearsonCorrelationCoefficient3dLvl2.h
1 // PearsonCorrelationCoefficient3dLvl2.h:
3 // --------------------------------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_PEARSONCORRELATIONCOEFFICIENT3DLVL2_H__
16 #define __IPSDKIPLGLOBALMEASURE_PEARSONCORRELATIONCOEFFICIENT3DLVL2_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutPearsonCCResult.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/3d/InSubImg3d1.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/3d/InSubImg3d2.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, PearsonCorrelationCoefficient3d,
37  ipsdk::imaproc::matchSize(_pInSubImg3d1, _pInSubImg3d2),
38  (((ipsdk)(imaproc)(attr))(InSubImg3d1))
39  (((ipsdk)(imaproc)(attr))(InSubImg3d2))
40  (((ipsdk)(imaproc)(attr))(OutPearsonCCResult)))
41 
42 // methods
43 public:
44 
45 protected:
46 
49  ipsdk::core::ExecResult postProcess();
51  void clearIntermediateData();
52 
53 // attributes
54 protected:
55  // declaration of dispatch results collection
56  IPSDK_DECLARE_DYNAMIC_RESULT_COLL(attr::OutPearsonCCResult, OutPearsonCCResultColl);
57 
59  attr::StatsResultPtr _pStatsResults1;
60 
62  attr::StatsResultPtr _pStatsResults2;
63 
64 };
65 
68 
69 } // end of namespace glbmsr
70 } // end of namespace imaproc
71 } // end of namespace ipsdk
72 
73 #endif // __IPSDKIPLGLOBALMEASURE_PEARSONCORRELATIONCOEFFICIENT3DLVL2_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