Specifications

Image Creation and Access
4-53
4
ConvertFromDIBSep
Converts a DIB image to an
IplImage
, using two arguments
for the DIB header and data.
IPLStatus iplConvertFromDIBSep (BITMAPINFOHEADER*
dibHeader
, const char*
dibData
, IplImage*
image
);
dibHeader
The input DIB image header.
dibData
The input DIB image data.
image
The IplImage header with specified attributes. If
the data pointer is
NULL, image data memory will
be allocated and the pointer set to it.
Discussion
Similar to iplConvertFromDIB, the function iplConvertFromDIBSep
converts DIB images to Image Processing Library images according to the
attributes set in the
IplImage header. The input and output images must
satisfy the same conditions as for
iplConvertFromDIB.
The function
iplConvertFromDIBSep uses an additional argument for the
DIB data. This allows you to supply the DIB header and data stored
separately.
Return Value
The function returns an IPLStatus status code.