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

Input Fields

input0

name: input0, type: Image

Output Fields

output0

name: output0, type: Image

Parameter Fields

Visible Fields

Center

name: windowCenter, type: Float, default: 2047, minimum: :field:`imageMin`, maximum: :field:`imageMax`

Sets the center of the interval.

Width

name: windowWidth, type: Float, default: 4095, minimum: 1, maximum: :field:`imageMax`

Sets the width of the interval.

Hidden Fields

imageMin

name: imageMin, type: Float, default: 0

imageMax

name: imageMax, type: Float, default: 4095