This function calculates lpDICOMDisplaySettings->VOIWindow from image's min and max values, and then builds grayscale LUT according to lpDICOMDisplaySettings.
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
);
|
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. |
Returns the number of ImageGear errors that occurred during the function call.
Grayscale – 8…32 bpp.