Window¶
-
MLModule
¶ genre LUT
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLMiscModules
definition MLMiscModules.def see also Scale
,RampLUT
,LinearLUT
,ApplyLUT
keywords level
,center
,width
,transfer
,lut
Purpose¶
The module Window
transforms the grey values of an image that are ranging in a certain interval.
Details¶
A LUT is defined for the input image values in the following way depending on a window center and a window width:
- values smaller than (windowCenter - windowWidth/2) are mapped to imageMin
- values greater than (windowCenter + windowWidth/2) are mapped to imageMax
- values inside the interval from (windowCenter - windowWidth/2) to (windowCenter + windowWidth/2) are mapped to imageMin + (imageMax - imageMin) / windowWidth * (value - (windowCenter - windowWidth/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.