Content-type: text/html
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h>
mlib_status mlib_VolumeWindowLevel(mlib_u8 *dst, const mlib_s16 *src, mlib_s32 window, mlib_s32 level, mlib_s32 gmax, mlib_s32 gmin, mlib_s32 len);
The mlib_VolumeWindowLevel() function performs a window-level operation by using the following equation:
Printed copy or docs.sun.com displays an equation that represents the window-level operation.
The window-level operation is represented by the following figure:
Printed copy or docs.sun.com displays a figure that represents the window-level operation.
The function takes the following arguments:
dst
src
window
level
gmax
gmin
len
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes:
|
attributes(5)