IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
LightnessType.h
Go to the documentation of this file.
1 // LightnessType.h:
3 // ------------------------
4 //
14 
15 #ifndef __IPSDKIPLATTRIBUTES_LIGHTNESSTYPE_H__
16 #define __IPSDKIPLATTRIBUTES_LIGHTNESSTYPE_H__
17 
19 
20 namespace ipsdk {
21 namespace imaproc {
22 namespace attr {
23 
26 
31 
33  (eLT_Average)
34 
37 
40 )
41 
42 
45 } // end of namespace attr
46 } // end of namespace imaproc
47 } // end of namespace ipsdk
48 
49 #endif // __IPSDKIPLATTRIBUTES_LIGHTNESSTYPE_H__
eLightnessType
Enumerate type of lightness calculation method.
Definition: LightnessType.h:32
0.21 R + 0.72 G + 0.07 B -> The input image MUST be have 3 channels (assumed to be RGB) ...
Definition: LightnessType.h:38
(channel0 + ... + channelN) / NbChannels
Definition: LightnessType.h:34
(max(channel0, ..., channelN) + min(channel0, ..., channelN)) / 2
Definition: LightnessType.h:36
#define IPSDK_ENUM(enumTypeStr, enumSeq)