Visualizing Images: Displaying images using the default view:Changing image brightness and contrast using LUTs

From MIPAV
Revision as of 19:58, 10 February 2012 by Angelfish100 (Talk)

(diff) <previousrevision> | Latest revision (diff) | <nextrevision> (diff)
Jump to: navigation, search


Changing image brightness and contrast using LUTs

Generally, computer systems have brightness display values written in the display hardware. These values are known as the physical color map; they are hard coded in your monitor. When you open an image, the image file contains data that indicates the intensity of each voxel in the image. These data are passed to the physical color map and displayed on the monitor. Additionally, MIPAV provides a logical color map, which allows you to remap the original intensities to other intensities. Although technically the term look-up table (LUT) can be used for the physical and logical color maps, in this guide look-up table refers to the logical color map only. You can apply predefined, pseudo color or inverse LUTs, or you can manually manipulate the transfer function used to map the image data to the LUT. The LUT then translates the remapped values so that they can be interpreted by the physical color map and displayed on your monitor.
To adjust the look-up table using the Quick LUT

To adjust the LUT, you open the Look-up Table window to modify the LUT's values and transfer function. However, you can use the Quick LUT icon to modify the LUT without opening the Look-up Table window. Quick LUT allows you to easily choose the highest and lowest values for the intensity levels in a user- defined area.

To do this, complete the following steps:

1 Open an image.
2 Click IconQuickLUT.jpg (Quick LUT) in the MIPAV window.
3 Move the cursor to the image window and draw a box around an area that has the highest and lowest intensities you want the image to display. These values are used to remap the image data to the LUT. The net effect is increased contrast in the area of interest (Figure 14).
Figure 118. An image before and after applying Quick LUT

Â
Â
Â

{| align="center"

ExampleImagesBeforeDuringAfterQuickLUT.jpg



|}


To generate a histogram and look-up table
A histogram is a graphic representation of the intensity level distribution in an image or VOI region. It displays the number of voxels at each intensity level. The histogram and LUT appear in the Look-up Table window.

To generate a histogram, and view the LUT, complete the following steps:

1 Open an image. The image appears in an image window.
2 Create a VOI on the image (optional step).
3 Do either of the following:
Click Look-up Table.
Select LUT > Histogram -LUT.
If the image contains a VOI, the Histogram window appears (Figure 15). Go to the next step.
Figure 119. Histogram dialog box


{| align="center"

DialogboxHistogram.jpg



|}


If there are no VOIs on the image, the Look-up Table window (Figure 16) appears.
4 Choose one of the following:
Whole image-To generate a histogram for the whole image
VOI region(s)-To generate a histogram for the VOI region of the image
5 Click OK. A progress message appears briefly. After a few moments, the Look-up Table window appears (Figure 16).

Figure 120. Look-up Table windowÂ

File
Open LUT-Opens a previously saved LUT file. LUT files have a .LUT extension.
Save LUT-Saves the LUT displayed in this window in a LUT file.
Open Transfer Functions-Opens a previously saved transfer function. Transfer function files have a .FUN extension.
Save Transfer Functions-Saves the transfer function displayed in this window to a file.
Close LUT-Closes the LUT window.

{| align="center"

WindowLookupTable.jpg



Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â

|- | rowspan="2" colspan="1" |

Utilities

|

Change number of colors-Allows you to change the number of colors displayed in the image.
Valid values are 2 to 256.

|- | rowspan="1" colspan="2" |

CT function-Allows you to select a preset LUT that is appropriate for the image content. Values are abdomen, head, lung, mediastinum, spine, and vertebrae.
Invert LUT-Creates a negative of the image.
Reset histogram and LUT A-Returns image A to its original values.
Reset histogram and LUT B-Returns image B to its original values. This command is only available if two images are open.

|- |

LUT toolbar

| rowspan="1" colspan="2" |

Provides tools that allow you to manipulate the displayed image. Refer to Figure 19.

|- |

Update (real-time)

| rowspan="1" colspan="2" |

Changes the image as you make changes to the LUT, which allows you to see the effect of your changes immediately on the image.

|- |

Log scale (histogram)

| rowspan="1" colspan="2" |

Displays the image's histogram count in log scale along the Y axis.

|- |

Interpolate image

| rowspan="1" colspan="2" |

Displays image using interpolation, which reduces pixilated image to appear more smooth.
Caution: Depending on the memory resources of your workstation, interpolation can be very lengthy.

|- |

Number of colors

| rowspan="1" colspan="2" |

Allows you to change the number of colors displayed in the image.

|- |

LUT

| rowspan="1" colspan="2" |

Displays the image intensities.

|}