Specifications
Error Handling
3-11
3
Table 3-1 iplError() Status Codes (continued)
Status Code Value Description
IPL_StsNoMem
-4 A function attempted to allocate memory
using malloc() or a related function and
was unsuccessful. The message
context
indicates the intended use of the memory.
IPL_StsBadArg
-5 One of the arguments passed to the function
is invalid. The message
context
indicates
which argument and why.
IPL_StsBadFunc
-6 The function is not supported by the
implementation, or the particular operation
implied by the given arguments is not
supported.
IPL_HeaderIsNull
-9 Null pointer to the image header.
IPL_BadImageSize
-10 Incorrect image size.
IPL_BadOffset
-11 Incorrect offset of the image’s ROI.
IPL_BadDataPtr
-12 Image must be tiled or must have non-zero
data pointer.
IPL_BadStep
-13
Incorrect
widthStep
of the image.
IPL_BadModelOrChSeq
-14 Incorrect color model or channel sequence of
the image.
IPL_BadNumChannels
-15 Incorrect number of channels in the image.
IPL_BadNumChannel1U
-16 Number of channels for 1U depth image
must be one.
IPL_BadDepth
-17 Incorrect depth value in the image header.
IPL_BadAlphaChannel
-18 Incorrect alpha channel number in the image
header.
IPL_BadOrder
-19 Incorrect data order value in the image
header.
continued
☞