Specifications

Image Architecture
2-3
2
The Sequence and Order of Color Channels
Channel sequence corresponds to the order of the color channels in
absolute color images. For example, in an RGB image the channels could
be stored in the sequence RGB or in the sequence BGR.
NOTE. For functions that perform color space conversions or image
format conversions, the channel sequence information is required and
therefore must be provided. All other functions ignore channel sequence.
For images with pixel-oriented data, the channel sequence corresponds to
the color data order for each pixel. Data ordering corresponds to the way
the color data is arranged: by planes or by pixels. Table 2-1 lists the
orderings that are supported for planes and for pixels.
Table 2-1 Data Ordering
Data Ordering Description
RGB Example
(channel ordering = RGB)
Pixel-oriented All channels for each pixel
are clustered.
RGBRGBRGB (line 1)
RGBRGBRGB (line 2)
RGBRGBRGB (line 3)
Plane-oriented All image data for each
channel is contiguous
followed by the next
channel.
RRRRRRRRR (line 1)
RRRRRRRRR (line 2) R plane
RRRRRRRRR (line 3)
GGGGGGGGG (line 1)
GGGGGGGGG (line 2) G plane
GGGGGGGGG (line 3)
...