Specifications
Intel
®
Image Processing Library Reference Manual
3-12
3
Table 3-1 iplError() Status Codes (continued)
Status Code Value Description
IPL_BadOrigin
-20 Incorrect data origin value in the image
header.
IPL_BadAlign
-21 Incorrect data alignment value in the image
header.
IPL_BadCallBack
-22 Null pointer to callback function.
IPL_BadTileSize
-23 Incorrect size of the tile.
IPL_BadCOI
-24 Incorrect COI of the image.
IPL_BadROISize
-25 Incorrect size of ROI in the image header.
Application Notes
The variable IplLastStatus records the status of the last error reported.
Its value is initially
IPL_StsOk. The value of IplLastStatus is not
explicitly set by the library function detecting an error. Instead, it is set by
iplSetErrStatus().
If the application decides to ignore an error, it should reset
IplLastStatus back to IPL_StsOk (see IPL_RSTERR() under “Error
Macros”). An application-supplied error-handling function must update
IplLastStatus correctly; otherwise the Image Processing Library might
fail. This is because the macro
IPL_ERRCHK(), which is used internally to
the library, refers to the value of this variable.