Displaying images

From MIPAV
Revision as of 16:14, 13 March 2012 by Olgavovk (Talk)

Jump to: navigation, search

Displaying images using the default view

In the default view, MIPAV displays the images in a dataset one at a time in an image window (Figure 17). This window can display datasets of any dimension.

Figure 17. Images open in the default image windows

QuickStart Image2.jpg QuickStart Image1.jpg QuickStart ImageWindow.jpg

Displaying images using the lightbox view

The lightbox view is similar to the default view, except that all images in the dataset appear in one window at the same time (Figure 18]).
To display images in the lightbox view 1 Open an image file. The image appears in an image window.
2 Select the image window. Do one of the following in the MIPAV window:
Click the View Light Box icon;
Select Image > Views > Light box.
The image now appears in a lightbox view.
3 Select Options > Settings in the lightbox view window to adjust the size and shape of the window. The Lightbox Settings dialog box (Figure 18) opens.
4 In the dialog box, indicate the number of rows and columns, the grid size, frame border size, color settings, and the magnification. For more information on these attributes, see the MIPAV User's Guide, "Visualizing Images", "Adjusting the lightbox view".
5 Click Close when complete. The image appears in the lightbox view, see Figure 18.

Figure 18. An image shown in the lightbox view and the Lightbox Settings dialog box
QuickStart LightBox.jpg


To magnify a portion of the image in the lightbox,
'
click Magnify Region and move the pointer to the image section to be magnified. Click Default Mode when finished.

Double-clicking an image in the lightbox view updates the 2D image frame for that image.

Displaying images using the cine view

When you view an image file in cine view, MIPAV automatically advances images one frame at a time. The effect is much like a film loop.
To display images in cine view
1 Open an image file. The image appears in the default image window.
2 Select Image > Views > Cine (Movie). The images in the image window are advanced automatically.

Adjusting magnification

MIPAV allows you to magnify images from 1.5 to 32 times the size of the original image. Using the magnification tools, you can magnify or minify the entire image or just a portion of the image. Much like a traditional magnifying glass, the magnification box can also minify-or reduce the level of magnification-a portion of the image.

Changing the magnification level

This section explains how to change the magnification level of the image using the icons on the Image toolbar in the MIPAV window.

To learn how to adjust the magnification level using the Image toolbar, refer to "Magnifying images"
"Reducing the magnification level"
"Restoring the original level of magnification"
"Magnifying regions within images"

To learn how to set the magnification level using the other methods, see volume 1 of the MIPAV User's Guide.

Magnifying images

To magnify an image, click the Magnify Image icon, and then click the image. Each time you click the Magnify Image icon and click the image, the image doubles in size. If an image is too large for the current window size, scroll bars appear, and you may need to manually adjust the size of the window.

Reducing the magnification level

To reduce the magnification level of an image, click Minify Image. Each time you click the Minify Image icon, MIPAV reduces the magnification level of the image by half.

Restoring the original level of magnification

To return the image to its original size or original level of magnification, click Original Magnification.

Magnifying regions within images

MagnificationRegionIco.jpg The Magnify Region icon allows you to view a square portion, or region, of the image at a specific magnification level. If you have loaded two images</font> into the same image window, the Window Region of Image B icon appears on the toolbar. Use this icon to view a region on the second image, or Image B.
To use the Magnify Region icon

1 Open an image.
2 Click Magnify Region and move it over the image.
As you move the mouse over the image, the Magnify Region icon displays a magnified square region in the image in a red box. The number at the left corner of the square is the magnification level. See also Figure 20.
You can change the size of the magnifying region to allow you to view larger or smaller regions of the image.
</font> 1 Right-click on the image while displaying a magnified region. The Magnification dialog box (Figure 19) opens.
2 Type either a higher number for a larger region or a lower number for a smaller region in the Width box. Valid values range from 64.0 to 198.0.
3 Click Apply. The size of the magnified region, or square, either increases or decreases in size.
Changing the magnification level of the magnified region works similarly to changing the size of the magnified region.


Figure 19. Magnification dialog box options
Magnification
Move the Magnification slide to the right to increase the magnification level or to the left to decrease the magnification level MagnificationDialogBox.jpg
Display intensity values When you slide the Magnification slider right past a certain point, this check box becomes active.
Size Type either a higher number for a larger region or a lower number for a smaller region in the Width box. Valid values range from 64.0 to 198.0.
Apply Applies the changes.
Close Closes the dialog box.

Tip: To review or compare a magnified region of the image with the same region at its original magnification, press Shift. To return to the Magnified view, release the key.

Figure 20. The larger size magnifying glass such as shown in B and C allows to inspect a larger region of the image

QuickStart MagnificationI4 75.jpg QuickStart MagnificationI4 130.jpg QuickStart MagnificationI8 75.jpg
A-the magnified region size is set to 75; the magnification level 4 is shown in the magnified region. B -the magnified region size is set to 130; the magnification level 4 is shown in the magnified region. C- the magnified region size is set to 130; the magnification level 8 is shown in the magnified region.

To change the magnification level

1 Right-click on the image while displaying a magnified region. The Magnification dialog box (Figure 19) opens.
2 Complete the dialog box, and then press Apply.
3 The magnification level shown in the magnified region changes to the level you specified.

Showing intensity values through the magnification glass

The Display intensity values check box on the Magnification dialog box allows you to display the intensity values within a magnified region of the image. See Figure 19.

To show the intensity values
1 Right-click on the image while displaying a magnified region. The Magnification dialog box (Figure 19) appears.
2 Select the Display intensity values check box.
If the check box is not available, or dimmed (as it is in Figure 19), increase the magnification by sliding the magnification slider to the right until the check box is active. See Figure 21.
3 Move the mouse over the image. The intensity values appear within the magnified region (Figure 21).


Figure 21. An image window displaying intensity values for a magnified region in the image
QuickStart MagnificationIntencityLevels.jpg MagnificationDialogBoxDisplayIntensity.jpg


Tip: If you hold down the middle mouse button, MIPAV writes the intensities by position within the image to the Data page of the Output window. You can then save these messages and print them.

Improving contrast, adding color, etc.

This section explains how to improve image contrast, add color to images, and create negative images by applying a quick lookup table(LUT), generating and modifying a histogram, applying pseudo-color LUTs, and creating negative images by inverting their color.
histogram- is a representation of a frequency distribution by means of rectangles whose widths represent class intervals and whose areas are proportional to the corresponding frequencies.
lookup table (LUT)- maps the frequency distribution in a histogram to pseudo-color values.

Improving contrast on images quickly

MIPAV provides the following quick ways to improve the contrast on images:

  • Using the Quick LUT icon
  • Using the right mouse button
  • Using the Adjust Window and Level icon

Using the Quick LUT icon

QuickLUTIco.jpg An easy way to improve the contrast in an image is by using the Quick LUT icon, which is located on the image toolbar in the expanded MIPAV window.
To use the Quick LUT icon

1 Open an image file. The image appears in an image window. If an image was not previously open, the initial MIPAV window expands to include all of the menus.
2 Select the image window.
3 Click Quick LUT.
4 Hold down the left mouse key and draw a rectangle on a portion of the image.
5 Release the left mouse key. Based on the amount of dark and light in the portion of the image that you selected, MIPAV changes the contrast in the image.
Repeat steps 3 through 5 as often as you wish to further improve image contrast. When you are satisfied with the contrast, save the image.


Figure 22. Images before and after applying the Quick LUT icon
LUTbeforeandafter.jpg



Using the right mouse button