CT Window Level

Author:

Julian Cooper (based in part on ImageJ code ij.plugin.frame.ContrastAdjuster.java)
Julian.Cooper[at]uhb.nhs.uk

History: 2009/07/01 First version
2014/03/14 Second version to correct bug which caused display problems in signed 16-bit data.
Source: In CT_Window_Level.jar
Installation: Download CT_Window_Level.jar to the plugins folder and restart ImageJ or click Help > Update Menus.
Description:

This plugin allows 16-bit DICOM grayscale images to be displayed with Window and Level specified in Hounsfield Units, as is standard for CT scans. On the Hounsfield scale the radiodensity of water is zero and the radiodensity of air is -1000.

If the image to which the plugin is applied is not 16-bit grayscale an error message is displayed. If a valid image the plugin will display the image using any Window and Level settings specified in the DICOM header. If no such settings are specified the display defaults to the full range from minimum to maximum.

Although no changes are made to pixel values it may be appropriate to work on a duplicate of important images to avoid occasional display issues with some stacks when the Brightness/Contrast adjuster is set to Auto or Reset.

The drop down box allows selection of presets for Window and Level to optimise the display of specific tissues or pathologies on human CT scans. As seen in the examples below the 'Lung' preset shows details in lung tissue not apparent on the 'Bone' window, but conversely much of the detail in bone and subcutaneous soft tissue is lost on the 'Lung' window. Other presets are listed, similar to those found as standard on CT Workstations. I have found that the appearance of certain presets can be improved by running the ImageJ menu command Process > Smooth, although this will clearly alter the underlying pixel data so should be used with caution. I hope to add the facility to save custom presets in the future.

Reset: resets the display to the image specified Window and Level settings, or full range if not otherwise specified.

Set: permits the user to specify Window and Level in a dialog box (in Hounsfield Units), rather than using the sliders.

Write: overwrites the Window and Level settings specified in the DICOM header with the current settings.

Example:
Three different views of a chest CT slice:

Image specified:

Lung window:

Bone window:

|Plugins | Home |