ImageGear Professional > API Reference Guide > MD Component API Reference > MD Component Functions Reference > Modality Transform Functions > MED_modality_transform_apply |
If hModalityLUT is not NULL, this function applies Modality LUT to the specified value.
Copy Code
|
|
---|---|
AT_INT MED_modality_transform_apply(
const AT_MED_MODALITY_RESCALE* lpRescale,
HIGLUT hModalityLUT,
AT_INT Value
);
|
Name | Type | Description |
lpRescale | const AT_MED_MODALITY_RESCALE* | AT_MED_MODALITY_RESCALE structure. |
hModalityLUT | HIGLUT | Modality LUT handle. |
Value | AT_INT | Value to which to apply Modality transform. |
Returns the resulting pixel value.
This function does not process image pixels.
If hModalityLUT is NULL, this function applies the linear modality transform (lpRescale) to the specified value. For 17-32 bit values, please use MED_modality_transform_apply_64().