IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
LightnessImg.h
Go to the documentation of this file.
1 // LightnessImg.h:
3 // ---------------
4 //
14 
15 #ifndef __IPSDKIPLCOLOR_LIGHTNESSIMG_H__
16 #define __IPSDKIPLCOLOR_LIGHTNESSIMG_H__
17 
21 
22 namespace ipsdk {
23 namespace imaproc {
24 namespace color {
25 
26 class LightnessImgLvl1;
27 
30 
36 lightnessImg(const image::ImageConstPtr& pInColorImg,
37  const image::ImagePtr& pOutLightImg);
39 lightnessImg(const image::ImageConstPtr& pInColorImg);
40 
42 lightnessImg(const image::ImageConstPtr& pInColorImg,
43  const ipsdk::imaproc::attr::eLightnessType& lightnessType,
44  const image::ImagePtr& pOutLightImg);
46 lightnessImg(const image::ImageConstPtr& pInColorImg,
47  const ipsdk::imaproc::attr::eLightnessType& lightnessType);
49 
52 IPSDKIPLCOLOR_API boost::shared_ptr<LightnessImgLvl1>
53 lightnessImg_async(const image::ImageConstPtr& pInColorImg,
54  const image::ImagePtr& pOutLightImg);
55 IPSDKIPLCOLOR_API boost::shared_ptr<LightnessImgLvl1>
56 lightnessImg_async(const image::ImageConstPtr& pInColorImg);
57 
58 IPSDKIPLCOLOR_API boost::shared_ptr<LightnessImgLvl1>
59 lightnessImg_async(const image::ImageConstPtr& pInColorImg,
60  const ipsdk::imaproc::attr::eLightnessType& lightnessType,
61  const image::ImagePtr& pOutLightImg);
62 IPSDKIPLCOLOR_API boost::shared_ptr<LightnessImgLvl1>
63 lightnessImg_async(const image::ImageConstPtr& pInColorImg,
64  const ipsdk::imaproc::attr::eLightnessType& lightnessType);
66 
70 getAsyncProcessorOutput(boost::shared_ptr<LightnessImgLvl1> pProcessor);
72 
75 
76 } // end of namespace color
77 } // end of namespace imaproc
78 } // end of namespace ipsdk
79 
80 #endif // __IPSDKIPLCOLOR_LIGHTNESSIMG_H__
Definition of import/export macro for library.
Predefined types for lightness calculation.
IPSDKIPLCOLOR_API void lightnessImg(const image::ImageConstPtr &pInColorImg, const image::ImagePtr &pOutLightImg)
wrapper function for lightness computation from an input RGB color image
eLightnessType
Enumerate type of lightness calculation method.
Definition: LightnessType.h:32
boost::shared_ptr< BaseImage > ImagePtr
IPSDKIPLCOLOR_API image::ImagePtr getAsyncProcessorOutput(boost::shared_ptr< AppendColorChannelImgLvl1 > pProcessor)
function to retrieve the result of an asynchronous processor
#define IPSDKIPLCOLOR_API
Import/Export macro for library IPSDKIPLColor.
Definition: IPSDKIPLColorExports.h:25
boost::shared_ptr< const BaseImage > ImageConstPtr
IPSDKIPLCOLOR_API boost::shared_ptr< LightnessImgLvl1 > lightnessImg_async(const image::ImageConstPtr &pInColorImg, const image::ImagePtr &pOutLightImg)
asynchronous wrappers