IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BoundImgLvl3.h
1 // BoundImgLvl3.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKIPLARITHMETIC_BOUNDIMGLVL3_H__
16 #define __IPSDKIPLARITHMETIC_BOUNDIMGLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InYStrip2d.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InOutputRange.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/OutYStrip2d.h>
25 
26 namespace ipsdk {
27 namespace imaproc {
28 namespace arithm {
29 
32 
33 // declare processing algorithm
34 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLArithmetic, BoundImg,
35  ((ipsdk::imaproc::matchSize(_pInYStrip2d, _pOutYStrip2d)) &&
36  (matchStripRange<ipsdk::imaproc::attr::Range::Min>(_pOutYStrip2d, _pInOutputRange)) &&
37  (matchStripRange<ipsdk::imaproc::attr::Range::Max>(_pOutYStrip2d, _pInOutputRange))),
38  (((ipsdk)(imaproc)(attr))(InYStrip2d))
39  (((ipsdk)(imaproc)(attr))(InOutputRange))
40  (((ipsdk)(imaproc)(attr))(OutYStrip2d)))
41 
42  // implementation of image processing data identifier retrieval method
43  // for function selector usage
44  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InYStrip2d))
45  ((STRIP)(OutYStrip2d)));
46 
47  // declaration of parsed data during processing
48  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((RAWSTRIP)(InYStrip2d))
49  ((RAWSTRIP)(OutYStrip2d)));
50 
51 // methods
52 public:
53 
54 protected:
56  template <typename BufInType, typename BufOutType,
57  ipsdk::eInstructionSet::domain IS>
58  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
59 
60 // attributes
61 protected:
62 
63 };
64 
67 
68 } // end of namespace arithm
69 } // end of namespace imaproc
70 } // end of namespace ipsdk
71 
72 #endif // __IPSDKIPLARITHMETIC_BOUNDIMGLVL3_H__
Definition of import/export macro for library.
#define IPSDK_DECLARE_PROCESSING_ALGORITHM(libraryName, algoName, RuleString, attributeSeq)
#define IPSDK_DECLARE_ALGORITHM_PARSED_DATA(dataSeq)
#define IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(dataTypeSeq)