IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ColorConvertImgLvl2.h
1 // ColorConvertImgLvl2.h:
3 // ----------------------
4 //
14 
15 #ifndef __IPSDKIPLCOLOR_COLORCONVERTIMGLVL2_H__
16 #define __IPSDKIPLCOLOR_COLORCONVERTIMGLVL2_H__
17 
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/2d/InSubColorImg2d.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InColorConversionTransform.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Output/2d/OutSubColorImg2d.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace color {
30 
33 
34 // declare processor class
35 IPSDK_DECLARE_LVL2_PROCESSOR(ASYNC1, IPSDKIPLColor, ColorConvertImg,
36  ipsdk::imaproc::match2dSize(_pInSubColorImg2d, _pOutSubColorImg2d) &&
37  ipsdk::imaproc::color::matchColorSpace(_pInSubColorImg2d, _pOutSubColorImg2d, _pInColorConversionTransform),
38  (((ipsdk)(imaproc)(attr))(InSubColorImg2d))
39  (((ipsdk)(imaproc)(attr))(InColorConversionTransform))
40  (((ipsdk)(imaproc)(attr))(OutSubColorImg2d)))
41 
42 // methods
43 public:
44 
45 protected:
46 
47 // attributes
48 protected:
49 
50 };
51 
54 
55 } // end of namespace color
56 } // end of namespace imaproc
57 } // end of namespace ipsdk
58 
59 #endif // __IPSDKIPLCOLOR_COLORCONVERTIMGLVL2_H__
Definition of import/export macro for library.
#define IPSDK_DECLARE_LVL2_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
Utility functions for color attribute rules management.
IPSDKIPLCOLOR_API processor::RulePtr matchColorSpace(const ImageAttributeConstPtr &pInputImageAttribute, const ImageAttributeConstPtr &pOutputImageAttribute, const boost::shared_ptr< const attr::InColorConversionTransform > &pInColorConversionTransform)