Specifications
Intel
®
Image Processing Library Reference Manual
4-56
4
dibData
The output DIB image data.
dither
The dithering algorithm to use if applicable.
Dithering will be done if the bit depth in the DIB
is less than that of the
IplImage. The following
algorithms are supported corresponding to these
dither
identifiers:
IPL_DITHER_FS The Floid-Steinberg error diffusion dithering
algorithm is used.
IPL_DITHER_JJH The Jarvice-Judice-Ninke error diffusion
dithering algorithm is used.
IPL_DITHER_STUCKEY The Stucki dithering algorithm is used.
IPL_DITHER_BAYER The Bayer threshold dithering algorithm is
used.
IPL_DITHER_NONE No dithering is done. The most significant
bits in the input image pixel data are
retained.
paletteConversion
Applicable when the DIB is a palette image.
Specifies the palette algorithm to use when
converting an absolute color
IplImage.The
following options are supported:
IPL_PALCONV_NONE The existing palette in the DIB is used.
IPL_PALCONV_POPULATE The popularity palette conversion algorithm
is used.
IPL_PALCONV_MEDCUT The median cut algorithm for palette
conversion is used.
Discussion
The function iplConvertToDIBSep() converts an IplImage to a DIB
image with header and data stored separately, in
dib
and
dibData
.
See
iplConvertToDIB for more information about the conversion.