IM: Image Representation

IM - Imaging Libray

Image Representation


Detailed Description

See im.h

Modules

group  Image Conversion
group  Image Structure
group  Image Utilities
group  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

enum imDataType
 

Image data type descriptors.
See also Data Type Utilities.

Enumeration values:
IM_BYTE  "unsigned char". 1 byte from 0 to 255.
IM_USHORT  "unsigned short". 2 bytes from 0 to 65,535.
IM_INT  "int". 4 bytes from -2,147,483,648 to 2,147,483,647.
IM_FLOAT  "float". 4 bytes single precision IEEE floating point.
IM_CFLOAT  complex "float". 2 float values in sequence, real and imaginary parts.
00022 {
00023   IM_BYTE,   /**< "unsigned char". 1 byte from 0 to 255.                  */
00024   IM_USHORT, /**< "unsigned short". 2 bytes from 0 to 65,535.             */
00025   IM_INT,    /**< "int". 4 bytes from -2,147,483,648 to 2,147,483,647.    */
00026   IM_FLOAT,  /**< "float". 4 bytes single precision IEEE floating point.  */
00027   IM_CFLOAT  /**< complex "float". 2 float values in sequence, real and imaginary parts.   */
00028 };

enum imColorSpace
 

Image color mode color space descriptors (first byte).
See also Color Mode Utilities.

Enumeration values:
IM_RGB  Red, Green and Blue (nonlinear).
IM_MAP  Indexed by RGB color map (data_type=IM_BYTE).
IM_GRAY  Shades of gray, luma (nonlinear Luminance), or an intensity value that is not related to color.
IM_BINARY  Indexed by 2 colors: black (0) and white (1) (data_type=IM_BYTE).
IM_CMYK  Cian, Magenta, Yellow and Black (nonlinear).
IM_YCBCR  ITU-R 601 Y'CbCr. Y' is luma (nonlinear Luminance).
IM_LAB  CIE L*a*b*. L* is Lightness (nonlinear Luminance, nearly perceptually uniform).
IM_LUV  CIE L*u*v*. L* is Lightness (nonlinear Luminance, nearly perceptually uniform).
IM_XYZ  CIE XYZ. Linear Light Tristimulus, Y is linear Luminance.
00034 {
00035   IM_RGB,    /**< Red, Green and Blue (nonlinear).              */
00036   IM_MAP,    /**< Indexed by RGB color map (data_type=IM_BYTE). */
00037   IM_GRAY,   /**< Shades of gray, luma (nonlinear Luminance), or an intensity value that is not related to color. */
00038   IM_BINARY, /**< Indexed by 2 colors: black (0) and white (1) (data_type=IM_BYTE).     */
00039   IM_CMYK,   /**< Cian, Magenta, Yellow and Black (nonlinear).                          */
00040   IM_YCBCR,  /**< ITU-R 601 Y'CbCr. Y' is luma (nonlinear Luminance).                   */
00041   IM_LAB,    /**< CIE L*a*b*. L* is Lightness (nonlinear Luminance, nearly perceptually uniform). */
00042   IM_LUV,    /**< CIE L*u*v*. L* is Lightness (nonlinear Luminance, nearly perceptually uniform). */
00043   IM_XYZ     /**< CIE XYZ. Linear Light Tristimulus, Y is linear Luminance.             */
00044 };

enum imColorModeConfig
 

Image color mode configuration/extra descriptors (1 bit each in the second byte).
See also Color Mode Utilities.

Enumeration values:
IM_ALPHA  adds an Alpha channel
IM_PACKED  packed components (rgbrgbrgb...)
IM_TOPDOWN  orientation from top down to bottom
00050 {
00051   IM_ALPHA    = 0x100,  /**< adds an Alpha channel */
00052   IM_PACKED   = 0x200,  /**< packed components (rgbrgbrgb...) */
00053   IM_TOPDOWN  = 0x400   /**< orientation from top down to bottom */
00054 };