Cirrus Logic CS485 Spezifikationen Seite 269

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 319
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 268
User Defined Functions
13-3
13
UserFuncFP
The type of user-defined
functions that perform point
operations on a separate
channel value of a pixel (for
images with all data types).
The prototype specified by the callback function of type IplUserFuncFP
must be as follows:
typedef float (__STDCALL *IplUserFuncFP)(float
src
);
src
The source pixel channel value converted
to
float type.
Discussion
The user function defined with the above prototype must take the float
channel value
src
as input and return the computed destination pixel
channel value also as
float. To use the function for image processing, its
name must be passed to the calling function
iplUserProcessFP() as the
last parameter in the arguments list.
The saturation of the returned result to the destination data range is done by
the calling function in case when the source and destination images contain
integer data.
The user function of type
IplUserFuncFP may call IPL_ERROR to set the
IPL error status.
See
iplUserProcessFP() for more information.
Seitenansicht 268
1 2 ... 264 265 266 267 268 269 270 271 272 273 274 ... 318 319

Kommentare zu diesen Handbüchern

Keine Kommentare