Image Representation
Detailed Description
- See im.h
Modules | |
Raw Data Conversion Utilities | |
imImage | |
Raw Data Utilities | |
Color Mode Utilities | |
Enumerations | |
enum | imDataType { IM_BYTE, IM_USHORT, IM_INT, IM_FLOAT, IM_CFLOAT } |
enum | imColorSpace { IM_RGB, IM_MAP, IM_GRAY, IM_BINARY, IM_CMYK, IM_YCBCR, IM_LAB, IM_LUV, IM_XYZ } |
enum | imColorModeConfig { IM_ALPHA = 0x100, IM_PACKED = 0x200, IM_TOPDOWN = 0x400 } |
Enumeration Type Documentation
|
Image data type descriptors.
00020 { 00021 IM_BYTE, /**< "unsigned char". 1 byte from 0 to 255. */ 00022 IM_USHORT, /**< "unsigned short". 2 bytes from 0 to 65,535. */ 00023 IM_INT, /**< "int". 4 bytes from -2,147,483,648 to 2,147,483,647. */ 00024 IM_FLOAT, /**< "float". 4 bytes single precision IEEE floating point. */ 00025 IM_CFLOAT /**< complex "float". 2 float values in sequence, real and imaginary parts. */ 00026 };
|
|
Image color mode color space descriptors (first byte).
00032 { 00033 IM_RGB, /**< Red, Green and Blue (nonlinear). */ 00034 IM_MAP, /**< Indexed by RGB color map (data_type=IM_BYTE). */ 00035 IM_GRAY, /**< Shades of gray, luma (nonlinear Luminance), or an intensity value that is not related to color. */ 00036 IM_BINARY, /**< Indexed by 2 colors: black (0) and white (1) (data_type=IM_BYTE). */ 00037 IM_CMYK, /**< Cian, Magenta, Yellow and Black (nonlinear). */ 00038 IM_YCBCR, /**< ITU-R 601 Y'CbCr. Y' is luma (nonlinear Luminance). */ 00039 IM_LAB, /**< CIE L*a*b*. L* is Lightness (nonlinear Luminance, nearly perceptually uniform). */ 00040 IM_LUV, /**< CIE L*u*v*. L* is Lightness (nonlinear Luminance, nearly perceptually uniform). */ 00041 IM_XYZ /**< CIE XYZ. Linear Light Tristimulus, Y is linear Luminance. */ 00042 };
|
|
Image color mode configuration/extra descriptors (1 bit each in the second byte).
00048 { 00049 IM_ALPHA = 0x100, /**< adds an Alpha channel */ 00050 IM_PACKED = 0x200, /**< packed components (rgbrgbrgb...) */ 00051 IM_TOPDOWN = 0x400 /**< orientation from top down to bottom */ 00052 };
|