主要内容

显示二维图像

显示单个图像或并排显示多个图像,并可选择以交互方式执行常见的图像处理任务

工具箱提供几个用于查看图像数据的函数。要了解所有工具箱图像显示功能,请参阅Choose Approach to Display 2-D and 3-D Images

使用图像查看器查看和浏览图像。您可以使用图像查看器包含的工具来详细检查图像像素、裁剪图像、调整图像对比度、应用颜色图以及测量像素之间的距离或多边形区域的面积。有关详细信息,请参阅Get Started with Image Viewer App

App

图像查看器查看和浏览图像
图像浏览器Browse images using thumbnails
视频查看器View videos and image sequences

函数

全部展开

imshow显示图像
imageshowDisplay image in 2-D viewer (自 R2024b 起)
bigimageshowDisplay 2-D blockedImage object
showmaskShow mask overlay at specified inclusion threshold
showlabelsDisplay label overlay on bigimageshow object (自 R2021b 起)
viewer2dCreate viewer for 2-D image display (自 R2024b 起)
viewangleReposition viewer camera using azimuth and elevation (自 R2026a 起)
warpDisplay image as texture-mapped surface
montageDisplay multiple images as rectangular montage
imshowpair比较图像之间的差异
imfuseComposite of two images
imblendBlend two images (自 R2024b 起)
linkviewersSynchronize camera properties of multiple viewers (自 R2026a 起)
immovie基于多帧图像制作影片
iptgetprefGet values of Image Processing Toolbox settings
iptprefs显示 Image Processing Toolbox 的“设置”窗口
iptsetprefSet Image Processing Toolbox setting or display valid values

属性

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

主题

在图窗窗口中显示图像

  • 在图窗窗口中显示图像
    在图窗窗口中显示灰度图像、RGB 图像、索引图像和二值图像。
  • 显示多个图像
    在多个单独的图窗窗口中显示多个图像,或在同一图窗窗口中单独显示多个图像。为了便于比较,您还可以创建两个图像的合成。
  • 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. (自 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.

浏览图像并与之交互

显示图像序列

精选示例