IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
NormalizedCrossCorrelationMsr2dLvl3.h
1 // NormalizedCrossCorrelationMsr2dLvl3.h:
3 // --------------------------------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_NORMALIZEDCROSSCORRELATION2DMSRLVL3_H__
16 #define __IPSDKIPLGLOBALMEASURE_NORMALIZEDCROSSCORRELATION2DMSRLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutNCCResult.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InYStrip2d1.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InYStrip2d2.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InOffset1.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InOffset2.h>
27 
28 namespace ipsdk {
29 namespace imaproc {
30 namespace glbmsr {
31 
34 
35 // declare processing algorithm
36 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLGlobalMeasure, NormalizedCrossCorrelationMsr2d,
37  ipsdk::imaproc::matchSize(_pInYStrip2d1, _pInYStrip2d2),
38  (((ipsdk)(imaproc)(attr))(InYStrip2d1))
39  (((ipsdk)(imaproc)(attr))(InYStrip2d2))
40  (((ipsdk)(imaproc)(attr))(InOffset1))
41  (((ipsdk)(imaproc)(attr))(InOffset2))
42  (((ipsdk)(imaproc)(attr))(OutNCCResult)))
43 
44  // implementation of image processing data identifier retrieval method
45  // for function selector usage
46  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InYStrip2d1))
47  ((STRIP)(InYStrip2d2)));
48 
49  // declaration of parsed data during processing
50  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((RAWSTRIP)(InYStrip2d1))
51  ((RAWSTRIP)(InYStrip2d2)));
52 
53 // methods
54 public:
55 
56 protected:
60 
63  ipsdk::core::ExecResult postProcess();
64 
66  template <typename TIn1, typename TIn2,
67  ipsdk::eInstructionSet::domain IS>
68  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
69 
70 // attributes
71 protected:
72 
73 };
74 
77 
78 } // end of namespace glbmsr
79 } // end of namespace imaproc
80 } // end of namespace ipsdk
81 
82 #endif // __IPSDKIPLGLOBALMEASURE_NORMALIZEDCROSSCORRELATION2DMSRLVL3_H__
ipsdk::core::ExecResult preProcess()
method called before processing
#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)