IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SimilarityMsrLvl3.h
1 // SimilarityMsrLvl3.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_SIMILARITYMSRLVL3_H__
16 #define __IPSDKIPLGLOBALMEASURE_SIMILARITYMSRLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutSimilarityStats.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InYStrip2d1.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InYStrip2d2.h>
25 
26 namespace ipsdk {
27 namespace imaproc {
28 namespace glbmsr {
29 
32 
33 // declare processing algorithm
34 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLGlobalMeasure, SimilarityMsr,
35  ipsdk::imaproc::matchSizeAndType(_pInYStrip2d1, _pInYStrip2d2),
36  (((ipsdk)(imaproc)(attr))(InYStrip2d1))
37  (((ipsdk)(imaproc)(attr))(InYStrip2d2))
38  (((ipsdk)(imaproc)(attr))(OutSimilarityStats)))
39 
40  // implementation of image processing data identifier retrieval method
41  // for function selector usage
42  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InYStrip2d1)));
43 
44  // declaration of parsed data during processing
45  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((RAWSTRIP)(InYStrip2d1))
46  ((RAWSTRIP)(InYStrip2d2)));
47 
48 // methods
49 public:
53 
56  core::ExecResult postProcess();
57 
58 protected:
59 
61  template <typename BufType,
62  ipsdk::eInstructionSet::domain IS>
63  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
64 
65 // attributes
66 protected:
67 
68 };
69 
72 
73 } // end of namespace glbmsr
74 } // end of namespace imaproc
75 } // end of namespace ipsdk
76 
77 #endif // __IPSDKIPLGLOBALMEASURE_SIMILARITYMSRLVL3_H__
ipsdk::core::ExecResult preProcess()
method called before processing
ProcessingResult< eExecutionResult > ExecResult
#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)