Content-type: text/html Man page of mlib_VolumeWindowLevel

mlib_VolumeWindowLevel

Section: mediaLib Library Functions (3MLIB)
Updated: 2 Mar 2007
Index Return to Main Contents
 

NAME

mlib_VolumeWindowLevel - window-level operation  

SYNOPSIS

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);

 

DESCRIPTION

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.  

PARAMETERS

The function takes the following arguments:

dst

Pointer to the output or destination array.

src

Pointer to the input or source array.

window

Width of the window.

level

Center of the window.

gmax

Maximum grayscale in the destination array.

gmin

Minimum grayscale in the destination array.

len

Length of the data array.

 

RETURN VALUES

The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.  

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE

Interface StabilityCommitted

MT-Level

 

SEE ALSO

attributes(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUES
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:38:23 GMT, October 02, 2010