Builds the 16x8 display LUT, using rescale, window, Presentation LUT and GSDF LUT.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI MED_PS_display_contrast (
HIGEAR hIGear,
DOUBLE rescale_slope,
DOUBLE rescale_intercept,
LONG window_center,
LONG window_width,
DOUBLE gamma,
LPAT_MED_LUT_DESC lpPresLUTInfo,
LPAT_MED_LUT_DESC lpGSDFLUTInfo,
);
|
|
| Name | Type | Description |
|---|---|---|
| hIGear | HIGEAR | 16g image to have its LUT16x8 updated. |
| rescale_slope | DOUBLE | Rescale Slope (0028,1053). |
| rescale_intercept | DOUBLE | Rescale Intercept (0028,1054). |
| window_center | LONG | Window Center (0028,1050). |
| window_width | LONG | Window Width (0028,1051). |
| gamma | DOUBLE | Gamma correction - set to 1.0 to turn off. |
| lpPresLUTInfo | LPAT_MED_LUT_DESC | Presentation LUT info. |
| lpGSDFLUTInfo | LPAT_MED_LUT_DESC | GSDF LUT info. |
Returns the number of ImageGear errors that occurred during the function call.
Grayscale – 8…32 bpp.
If lpGSDFLUTInfo parameter is not NULL, gamma is not used.