ImageGear Professional for Linux
MED_modality_transform_apply

If hModalityLUT is not NULL, this function applies Modality LUT to the specified value.

Declaration:

 
Copy Code
AT_INT MED_modality_transform_apply(
        const AT_MED_MODALITY_RESCALE* lpRescale,
        HIGLUT hModalityLUT,
        AT_INT Value
);

Arguments:

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.

Return Value:

Returns the resulting pixel value.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

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().

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback