ImageGear Professional for Unix
MED_display_grayscale_LUT_build_auto

This function calculates lpDICOMDisplaySettings->VOIWindow from image's min and max values, and then builds grayscale LUT according to lpDICOMDisplaySettings.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI MED_display_grayscale_LUT_build_auto(
        HIGEAR hIGear,
        const AT_RECT* lpRect,
        AT_MED_DCM_DISPLAY_SETTINGS* lpDICOMDisplaySettings,
        HIGLUT hlut
);

Arguments:

Name Type Description
hIGear HIGEAR 16g image having its 16x8 LUT updated.
lpRect const AT_RECT* AT_RECT structure.
lpDICOMDisplaySettings AT_MED_DCM_DISPLAY_SETTINGS* AT_MED_DCM_DISPLAY_SETTINGS structure.
hlut HIGLUT LUT handle.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

Grayscale – 8…32 bpp.

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback