Main Content

Display 2-D Images

Display single images or multiple images next to each other, and optionally perform common image processing tasks interactively

The toolbox provides several functions for viewing image data. To understand all the toolbox image display capabilities, see Choose Approach to Display 2-D and 3-D Images.

Use the Image Viewer app to view and explore images. Image Viewer includes tools that you can use to examine image pixels in detail, crop an image, adjust image contrast, apply colormaps, and measure distances between pixels or areas of polygon regions. For more information, see Get Started with Image Viewer App.

Apps

Image ViewerView and explore images
Image BrowserBrowse images using thumbnails
Video ViewerView videos and image sequences

Functions

expand all

imshowDisplay image
imageshowDisplay image in 2-D viewer (Since R2024b)
bigimageshowDisplay 2-D blockedImage object
showmaskShow mask overlay at specified inclusion threshold
showlabelsDisplay label overlay on bigimageshow object (Since R2021b)
viewer2dCreate viewer for 2-D image display (Since R2024b)
viewangleReposition viewer camera using azimuth and elevation (Since R2026a)
warpDisplay image as texture-mapped surface
montageDisplay multiple images as rectangular montage
imshowpairCompare differences between images
imfuseComposite of two images
imblendBlend two images (Since R2024b)
linkviewersSynchronize camera properties of multiple viewers (Since R2026a)
immovieMake movie from multiframe image
iptgetprefGet values of Image Processing Toolbox settings
iptprefsDisplay Image Processing Toolbox Settings window
iptsetprefSet Image Processing Toolbox setting or display valid values

Properties

Viewer PropertiesViewer for 2-D and 3-D image display (Since R2022b)
Image PropertiesImage appearance in 2-D Viewer (Since R2024b)

Topics

Display Images in a Figure Window

  • Display an Image in Figure Window
    Display grayscale, RGB, indexed, and binary images in a figure window.
  • Display Multiple Images
    Display multiple images in separate figure windows or individually in the same figure window. You can also create a composite of two images for easier comparison.
  • Display Different Image Types
    Display truecolor, grayscale, binary, and indexed images in a figure window or in the interactive Image Viewer app.
  • Display and Explore Blocked Images
    This example shows how to visualize and explore large and multiresolution images stored as blockedImage objects. (Since R2024b)
  • Print Images
    Print images to use them in a word processing program or graphics editor.
  • Manage Display Settings
    View and edit settings to control how images are displayed on your screen by default.

Explore and Interact with Images

Display Image Sequences

Featured Examples