IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
NormalizedCrossCorrelationMsr2dLvl2.h
1 // NormalizedCrossCorrelationMsr2dLvl2.h:
3 // --------------------------------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_NORMALIZEDCROSSCORRELATION2DMSRLVL2_H__
16 #define __IPSDKIPLGLOBALMEASURE_NORMALIZEDCROSSCORRELATION2DMSRLVL2_H__
17 
20 #include <IPSDKIPL/IPSDKIPLGlobalMeasure/Processor/StatsMsr/StatsMsr.h>
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutNCCResult.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/2d/InSubImg2d1.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/2d/InSubImg2d2.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace glbmsr {
30 
33 
34 // declare processor class
35 IPSDK_DECLARE_LVL2_PROCESSOR(ASYNC3, IPSDKIPLGlobalMeasure, NormalizedCrossCorrelationMsr2d,
36  ipsdk::imaproc::matchSize(_pInSubImg2d1, _pInSubImg2d2),
37  (((ipsdk)(imaproc)(attr))(InSubImg2d1))
38  (((ipsdk)(imaproc)(attr))(InSubImg2d2))
39  (((ipsdk)(imaproc)(attr))(OutNCCResult)))
40 
41 // methods
42 public:
43 
44 protected:
45 
48  ipsdk::core::ExecResult postProcess();
49 
51  void clearIntermediateData();
52 
53 // attributes
54 protected:
55  // declaration of dispatch results collection
56  IPSDK_DECLARE_DYNAMIC_RESULT_COLL(OutNCCResult, OutNCCResultsColl);
57 
60 
63 };
64 
67 
68 } // end of namespace glbmsr
69 } // end of namespace imaproc
70 } // end of namespace ipsdk
71 
72 #endif // __IPSDKIPLGLOBALMEASURE_NORMALIZEDCROSSCORRELATION2DMSRLVL2_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