#include "l_bitmap.h"
L_LTIMGCOR_API L_INT L_ApplyLinearModalityLUT (pBitmap, fIntercept, fSlope, uFlags)
pBITMAPHANDLE pBitmap;  | 
pointer to the main bitmap handle  | 
L_DOUBLE fIntercept;  | 
rescale intercept  | 
L_DOUBLE fSlope;  | 
rescale slope  | 
L_UINT uFlags;  | 
flags  | 
Remaps the bitmap pixels by applying a linear transformation described by a rescale slope and an intercept.
Parameter  | 
Description  | 
||||||||||
pBitmap  | 
Pointer to the main bitmap handle.  | 
||||||||||
fIntercept  | 
Rescale intercept  | 
||||||||||
fSlope  | 
Rescale slope  | 
||||||||||
uFlags  | 
A flag that determine the behavior of the function, the user can use one or more flags of the following: 
  | 
SUCCESS  | 
The function was successful.  | 
< 1  | 
An error occurred. Refer to Return Codes.  | 
This function does not support 32-bit grayscale images. It returns the error code ERROR_GRAY32_UNSUPPORTED if a 32-bit grayscale image is passed to this function.
Required DLLs and Libraries
| 
 For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.  | 
Win32, x64, Linux.
Functions:  | 
L_RemapBitmapIntensity, L_ApplyLinearModalityLUT, L_ApplyVOILUT, L_ApplyLinearVOILUT, L_DicomGetModalityLUTAttributes, L_AdjustBitmapTint, L_GammaCorrectBitmapExt  | 
Topics:  | 
|
  | 
|
  | 
For an example, refer to L_ApplyModalityLUT.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
