INGENIA

IMG-25

CT windowing

g = clip((HU − WL)/WW + ½). Display grey from window level and width.

Reading speed
DisplayWindowing

Governing equation

g=clip(HU−WLWW+12)g=\mathrm{clip}\left(\dfrac{\mathrm{HU}-WL}{WW}+\tfrac12\right)

HU∈[−1000,1000]HU \in \left[-1000, 1000\right]

where

HU
Pixel HU (HU)
WL
Window level (HU)
WW
Window width (HU)
g
Display grey (—)

The figure, part by part

Each numbered marker wears the color of its card. Hover a card to light the marker. Tap a marker to jump to that card. The slider walks a red point along the curve; Animate drawing traces it like a pen.

IMG-25 · gauge
00:0 / 00:08
①

Governing law — red

g=clip(HU−WLWW+12)g=\mathrm{clip}\left(\dfrac{\mathrm{HU}-WL}{WW}+\tfrac12\right)

HU∈[−1000,1000]HU \in \left[-1000, 1000\right]

HU=−1000HU = -1000g=0g = 0

②

Domain of the variable — blue

HUmin⁡=−1000,HUmax⁡=1000HU_{\min} = -1000,\quad HU_{\max} = 1000

HU∈[−1000,1000]HU \in \left[-1000, 1000\right]

HU=−1000HU = -1000HU=−1000HU = -1000

③

Response curve — green

g=clip(HU−WLWW+12)g=\mathrm{clip}\left(\dfrac{\mathrm{HU}-WL}{WW}+\tfrac12\right)

HU∈[−1000,1000]HU \in \left[-1000, 1000\right]

HU=−1000HU = -1000g=0g = 0

④

Rate of change — amber

dgdHU\frac{\mathrm{d}g}{\mathrm{d}HU}

HU∈[−1000,1000]HU \in \left[-1000, 1000\right]

HU=−987.4HU = -987.4g′=0g^{\prime} = 0

Lecture brief

Historical brief

Larmor precession, CT Beer projections, SNR and Nyquist sampling are why MRI and CT images exist as numbers. The lab computes frequency, dose and resolution limits. This sheet (IMG-25 — CT windowing) is the form associated with Windowing. Working symbols: HUHU, WLWL, WWWW →\rightarrow gg. Lung WW/WL ~ 1500/−600, bone 2000/+300, soft tissue 400/+40. Windowing is not a dose change.

Purpose

Purpose: compute gg from HUHU, WLWL, WWWW in Medical imaging via g=clip(HU−WLWW+12)g=\mathrm{clip}\left(\dfrac{\mathrm{HU}-WL}{WW}+\tfrac12\right) g = clip((HU − WL)/WW + ½). Display grey from window level and width. Use it when a real medical imaging question must be answered in SI before a code check.

Live realistic example

In symbols

Live case. Given HU=40.000 HUHU = 40.000\,\mathrm{HU}, WL=40.000 HUWL = 40.000\,\mathrm{HU}, WW=400.000 HUWW = 400.000\,\mathrm{HU}, the governing relation g=clip(HU−WLWW+12)g=\mathrm{clip}\left(\dfrac{\mathrm{HU}-WL}{WW}+\tfrac12\right) yields g=0.500 —g = 0.500\,\mathrm{—}. A HU number mapped onto a 0–1 grey. Move a slider: the numbers are this situation, not a canned story.

Calculator

Inputs

Outputs

  • Display grey g0.500 —
Reading speed

Watch on YouTube

Free library

Full library

Free PDF / open book

YouTube channels

IMG-25 · gauge
00:0 / 00:08

Narration of this film

A HU number mapped onto a 0–1 grey.

Lung WW/WL ~ 1500/−600, bone 2000/+300, soft tissue 400/+40. Windowing is not a dose change.

Reading speed

Watch on YouTube