Specifications

Intel
®
Image Processing Library Reference Manual
3-2
3
reporting these exceptions. A floating-point library is needed if a processor
that handles floating-point is not present. You can attach an exception
handler using an underlying floating-point library for your application, if
your system supports such a library.
Error-handling Functions
The following sections describe the error functions in the Image Processing
Library.
Error
Performs basic error
handling.
void iplError(IPLStatus
status
, const char *
func
,
const char *
context
);
status
Code that indicates the type of error (see
Table 3-1, iplError() Status Codes”.)
func
Name of the function where the error occurred.
context
Additional information about the context in
which the error occurred. If the value of
context
is NULL or empty, this string will not appear in the
error message.
Discussion
The iplError() function must be called whenever any of the library
functions encounters an error. The actual error reporting is handled
differently, depending on whether the program is running in Windows
mode or in console mode. Within each invocation mode, you can set the
error mode flag to alter the behavior of the
iplError() function. For more
information on the defined error modes, see “SetErrMode” section.