Image Viewer
View and explore images
Description
The Image Viewer app enables you to interactively explore images and perform common image processing tasks. Using the app, you can:
Load an image from a file or from the workspace.
Zoom and navigate the image using an overview display.
View image metadata, pixel values, and the display range.
Measure the distances between pixels or the area within a drawn polygon region.
View grayscale images using a built-in or custom colormap.
Crop the image, or adjust the contrast of the image.
Export measurements to the workspace, and export the modified image to the workspace or as an image file.
To learn more, see Get Started with Image Viewer App.
Open the Image Viewer App
MATLAB® Toolstrip: On the Apps tab, under Image Processing and Computer Vision, click the Image Viewer app icon.
MATLAB command prompt: Use the
imageViewer
function.
Examples
Related Examples
Programmatic Use
Tips
Image Viewer does not close when you use the
close all
command. If you want to close multiple instances of the Image Viewer app, use the syntaximageViewer close
.If you load an image with a data range occupying less than 1/4 of the display range for the data type, the app prompts you to adjust the contrast before displaying the image. Select Yes to set the display range limits to match the data range and increase the image contrast. Select No to display the raw image with low contrast. By default, the app remembers your selection and applies it for all low-contrast images. Clear the checkbox to be prompted each time you load a low contrast image.
Display multilevel images and images that are too large to fit into memory by using the
blockedImage
object andbigimageshow
function. TheblockedImage
object manages large and multilevel images to balance memory requirements with display performance. If an image file requires too much memory to display, you can use themakeMultiLevel2D
function to add a coarse resolution level, which you can display usingbigimageshow
.