Download CT_Window_Level.jar to the plugins folder and restart ImageJ or click Help > Update Menus.
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:
Author: Jonathon Jackson (j.jackson at ion.ucl.ac.uk) History: 2005/08/23: First version Source: Convert_To_Signed16.java Installation: Download Convert_To_Signed16.class to the plugins folder, or subfolder, and restart ImageJ. Description:
Author: Paulo Magalhães (pamaga_A_T_bio_DOT_unipd_DOT_it) University of Padua, Italy History: 2003/12/04: first version 2003/12/10: added constant background subtraction; implemented “zero divided by zero equals one” feature
Author: Walter O’Dell PhD, firstname.lastname@example.org History: 2002/11/13: First version Source: The Java source code is included in the window-level.zip archive. Installation: Download window-level.zip and extract
Author: Wayne Rasband (email@example.com) History: 2002/03/07: First version 2002/03/20: Creates 8-bit indexed color image Source: Thumbnail_Maker.java Installation: Copy Thumbnail_Maker.class to the plugins folder and restart