Changing Image Contrast

From MIPAV
Revision as of 19:28, 7 February 2012 by Angelfish100 (Talk)

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

Using the right mouse button

The right mouse button provides you with a very simple way of changing image contrast. To do so, open an image and then hold down the right mouse button and drag it around the screen. The cursor changes from a red cross to one that is shown in [MIPAV_QuickStart.html#2644979 Figure 23]. To restore an image to its original appearance, refer to [MIPAV_QuickStart.html#1011509 "Restoring images to their original appearance" on page 35].



{| align="left"

QuickStart ImprovingContrastMouse.jpg



|

Figure 23. Changing image contrast using the right mouse button
When you drag the cursor up and down or across the image, the image may become darker and gradually disappear or become lighter in appearance.
At some points you may be able to create a negative of the image.

|}


Adjust Window and Level

AdjustWindowLevelIco.jpg The Adjust Window and Level icon on the Image toolbar provides another way to change the contrast of images.


{| align="center"

LevelANDWindow.jpg



|

Figure 24. The Level and Window dialog box
Move each slider up or down to change the contrast of the image. The changes are immediately effective in the image.

|}


To adjust image contrast
1 Open an image file. The image appears in an image window.
2 Click Adjust Window and Level. The Level & Window dialog box appears.

3 In the dialog box, move each slider up or down to change the contrast of the image. The changes are immediately effective in the image. Click Close when done.

Restoring images to their original appearance

ResetLUTIco.jpg To return to the original appearance of the image, click Reset LUT.

GrayIco.jpg In addition, you can click the Gray icon to restore the image to grayscale if you have changed it or added colors.

Improving contrast by generating and modifying histograms

LUTIco.jpg To generate a histogram of an image, you can use the Lookup Table icon or call LUT > Histogram LUT. To obtain a histogram summary, which is in the tabular form, use the Algorithms > Histogram Tools > Histogram Summary command.

To generate a histogram for an image
1 Open an image. The image appears in an image window.
2 Do either of the following: click Lookup Table icon or select LUT > Histogram-LUT. For images that do not contain VOIs, the Lookup Table window opens.
3 For images that contain VOIs, the Histogram dialog box appears. In the dialog box, select either Whole image or VOI region(s).
4 Click OK. A progress message appears. After a few moments, the Lookup Table window ([MIPAV_QuickStart.html#2661116 Figure 26]) opens.
Figure 25. The Lookup Table window (A) and Histogram dialog box (B)


{| align="center"

LUTDialogBox.jpg


A

|


{| align="center"

| HIstogramDialogBox.jpg

|}
B
Â
Â
Â

|}