Specifications

Image Creation and Access
4-5
4
Table 4-2 Image Header Attributes (continued)
Description Value
Corresponding
DIB Attribute
Channel sequence 4-character string. Can be “G”,
“GRAY”, “BGR”, “BGRA”, “RGB”,
“RGBA”, “HSV”, “HLS”, “XYZ”,
“YUV”, “YCr”, “YCC”, or “LUV”.
Not supported
(implicitly BGR for
RGB images.)
Data Ordering
IPL_DATA_ORDER_PIXEL
IPL_DATA_ORDER_PLANE
Supported
Not supported
Origin
IPL_ORIGIN_TL (top left corner)
IPL_ORIGIN_BL (bottom left)
Supported
Supported
Scanline alignment
IPL_ALIGN_DWORD
IPL_ALIGN_QWORD
Supported
Not Supported
Image size: height
width
Integer
Integer
m
n
Region of interest (ROI) Pointer to structure Not supported
Mask
Pointer to another IplImage
Not supported
Image size (bytes) Integer
Image data pointer Pointer to data
Aligned width Width (row length in bytes) of
image padded for alignment
Border mode of the top,
bottom, left, and right
sides of the image.
BorderMode [4]
Border constant on the
top, bottom, left, and
right side of the image.
BorderConst [4]
Original Image Pointer to original image data
Image ID For application use only; ignored by the library.
Tiling information
Pointer to IplTileInfo structure