| genre | LUT |
| status | stable |
| author | Andrea Schenk |
| package | MeVisLab/Standard |
| dll | MLTransferFunction |
| definition | MLTransferFunction.def |
| see also | TransferFunction, Gradation, Window2, RampLUT, LinearLUT, ApplyLUT |
| keywords | window, level, center, width, transfer, lut |
The module Window transforms the grey values of an image that are ranging in a certain interval.
A LUT is defined for the input image values in the following way depending on a window center and a window width:
- values < window center - window width / 2 >> imgmin
- values > window center + window width / 2 >> imgmax
- values inside the interval >> imgmin + (imgmax - imgmin) / window width * (value - (window center - window width / 2))
Values outside the interval are either set to the image maximum or the image minimum and values inside are mapped to the whole range between the image maximum and the image minimum.