Specifications

Intel
®
Image Processing Library Reference Manual
4-18
4
IPL_BadCallBack Indicates an error condition if the image is tiled
but the call-back function is not set in the
_IplTileInfo structure.
IPL_BadTileSize Indicates an error condition if a tiled image has
tile sizes not multiple of 8.
IPL_BadCOI Indicates an error condition if an image with ROI
has incorrect
coi field value in the _IplROI
structure (that is, coi is negative or greater than
nChannels).
IPL_BadROISize Indicates an error condition if an image with ROI
has negative or zero ROI size value.
IPL_BadOffset Indicates an error condition if an image with ROI
has negative ROI offset value.
CreateImageJaehne
Creates a one-channel
test image.
IplImage* iplCreateImageJaehne ( int
depth
, int
widt
h,
int
height
)
depth
Bit depth of the image to be created.
width, height
Size of the image to be created.
Discussion
The function iplCreateImageJaehne() creates a specific one-channel
test image that has the user-defined bit depth and size. This function returns
the pointer to the corresponding
IplImage structure. The
depth
parameter
can specify any data type that is used in the Image Processing library.
For the 32f floating point data type the pixel values in the created image
can vary in the range between 0 (inclusive) and 1 (exclusive).