IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SimilarityMsrLvl2.h
1 // SimilarityMsrLvl2.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_SIMILARITYMSRLVL2_H__
16 #define __IPSDKIPLGLOBALMEASURE_SIMILARITYMSRLVL2_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutSimilarityStats.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/2d/InSubImg2d1.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/2d/InSubImg2d2.h>
25 
26 namespace ipsdk {
27 namespace imaproc {
28 namespace glbmsr {
29 
32 
33 // declare processor class
34 IPSDK_DECLARE_LVL2_PROCESSOR(ASYNC1, IPSDKIPLGlobalMeasure, SimilarityMsr,
35  ipsdk::imaproc::matchSizeAndType(_pInSubImg2d1, _pInSubImg2d2),
36  (((ipsdk)(imaproc)(attr))(InSubImg2d1))
37  (((ipsdk)(imaproc)(attr))(InSubImg2d2))
38  (((ipsdk)(imaproc)(attr))(OutSimilarityStats)))
39 
40 // methods
41 public:
44  core::ExecResult postProcess();
45 
47  void clearIntermediateData();
48 
49 protected:
50 
51 // attributes
52 protected:
53  // declaration of dispatch results collection
54  IPSDK_DECLARE_DYNAMIC_RESULT_COLL(OutSimilarityStats, OutSimilarityStatsColl);
55 };
56 
59 
60 } // end of namespace glbmsr
61 } // end of namespace imaproc
62 } // end of namespace ipsdk
63 
64 #endif // __IPSDKIPLGLOBALMEASURE_SIMILARITYMSRLVL2_H__
#define IPSDK_DECLARE_LVL2_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
ProcessingResult< eExecutionResult > ExecResult
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)