Specifications
Image Architecture
2-1
2
This chapter describes the data and execution architecture of the Image
Processing Library. It introduces the library’s color models, data types,
coordinate systems, regions of interest, data alignment, in-place and not-
in-place execution, and image tiling.
Data Architecture
Any image in the Image Processing Library has a header that describes the
image as a list of attributes and pointers to the data associated with the
image. Library functions use the image header to get the format and
characteristics of the image(s) passed to the functions. Based on the
information obtained from the header, the functions make appropriate calls
to set the data structures. Images can have different organization of data.
The library supports numerous data formats that use different color models,
data types, data order, and coordinate systems.
Color Models
The library image format supports the following color models:
• Monochrome or gray scale image (one color channel)
• Color image (3 or 4 color channels)
• Multi-spectral image (any number of channels).
Color models are defined by the number of channels and the colors they
contain. Examples of three-channel models are RGB, HSV, CMY, and
YCC. Examples of four-channel color models are CMYK and RGBA.
Image processing operations can be performed on one or all channels in the
image. The operations are performed without specific identification of the
colors, unless it is a certain color conversion operation where color
identification is required.