IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
LightnessImgLvl3.h
1 // LightnessImgLvl3.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKIPLCOLOR_LIGHTNESSIMGLVL3_H__
16 #define __IPSDKIPLCOLOR_LIGHTNESSIMGLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStripColor2d/InColorYStrip2d.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/OutLightYStrip2d.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Enumerate/InLightnessType.h>
25 
26 namespace ipsdk {
27 namespace imaproc {
28 namespace color {
29 
32 
33 // declare processing algorithm
34 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLColor, LightnessImg,
35  ipsdk::imaproc::matchPlanarSize(_pInColorYStrip2d, _pOutLightYStrip2d) &&
36  ipsdk::imaproc::matchBufferType(_pInColorYStrip2d, _pOutLightYStrip2d),
37  (((ipsdk)(imaproc)(attr))(InColorYStrip2d))
38  (((ipsdk)(imaproc)(attr))(InLightnessType))
39  (((ipsdk)(imaproc)(attr))(OutLightYStrip2d)))
40 
41  // implementation of image processing data identifier retrieval method
42  // for function selector usage
43  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InColorYStrip2d)));
44 
45  // declaration of parsed data during processing
46  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((RAWSTRIP)(InColorYStrip2d))
47  ((RAWSTRIP)(OutLightYStrip2d)));
48 
49 // methods
50 public:
51 
52 protected:
54  template <typename BufType,
55  ipsdk::eInstructionSet::domain IS>
56  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
57 
58 // attributes
59 protected:
60 
61 };
62 
65 
66 } // end of namespace color
67 } // end of namespace imaproc
68 } // end of namespace ipsdk
69 
70 #endif // __IPSDKIPLCOLOR_LIGHTNESSIMGLVL3_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)