Specifications

User Defined Functions
13-1
13
This chapter describes library functions that enable users to create their
own image processing functions and make calls to them from application
programs. You can define functions that perform point operations either on
each channel value of processed pixels of an image separately, or on all
channel values simultaneously. Both integer and floating-point image data
can be processed.
To introduce your own image processing function, you must first define it
as one of the following types:
IplUserFunc For functions that operate on images with integer
data and process each channel value of a pixel
separately.
IplUserFuncFP For functions that operate on images with all data
types and process each channel value of a pixel
separately.
IplUserFuncPixel For functions that operate on images with all data
types and process all channel values of a pixel
simultaneously.
Afterwards you can call your own functions by using the respective library
functions
IplUserProcess(), IplUserProcessFP(),or
IplUserProcessPixel(), described later in this chapter.