Main Content

本页的翻译已过时。点击此处可查看最新英文版本。

构建交互式工具

使用交互式图像显示和探查工具,在图窗窗口中显示图像,并基于模块化构建块创建自定义图像处理 App

您可以单独或组合使用模块化交互式工具来创建自定义图像处理 App。例如,您可以创建显示像素和图像信息的 App,启用放大和导航辅助功能,以及通过裁剪或调整图像对比度来修改图像。

工具箱提供了许多执行常见所需任务的工具函数,可以帮助您创建能与现有模块化交互式工具很好集成的工具,例如,这些工具函数可以添加回调函数,这些回调函数根据鼠标的移动来执行操作,并根据固定窗口对齐图窗窗口。您还可以获得有关图像属性和特性的信息。

函数

全部展开

imageinfoImage Information tool
imcolormaptoolChoose Colormap tool
imcontrastAdjust Contrast tool
imcrop裁剪图像
imcrop3Crop 3-D image
imdisplayrangeDisplay Range tool
imdistlineDistance tool
impixelinfoPixel Information tool
impixelinfovalPixel Information tool without text label
impixelregionPixel Region tool
impixelregionpanelPixel Region tool panel
immagboxMagnification box for image displayed in scroll panel
imoverviewOverview tool for image displayed in scroll panel
imoverviewpanelOverview tool panel for image displayed in scroll panel
imsave保存图像工具
imscrollpanelScroll panel for interactive image navigation
getimageImage data from axes
imagemodelImage model object
getimagemodelImage model object from image object
imattributesInformation about image attributes
imhandlesGet all image objects
axes2pixConvert axes coordinates to pixel coordinates
imgcaGet current axes containing image
imgcfGet current figure containing image
imgetfileDisplay Open Image dialog box
imputfileDisplay Save Image dialog box
iptaddcallbackAdd function handle to callback list
iptcheckmapCheck validity of colormap
iptcheckhandleCheck validity of handle
iptgetapiGet Application Programmer Interface (API) for handle
iptGetPointerBehaviorRetrieve pointer behavior from graphics object
ipticondirDirectories containing Image Processing Toolbox and MATLAB icons
iptPointerManagerCreate pointer manager in figure
iptremovecallbackDelete function handle from callback list
iptSetPointerBehaviorStore pointer behavior structure in graphics object
iptwindowalignAlign figure windows
makeConstrainToRectFcnCreate rectangularly bounded drag constraint function
truesizeAdjust display size of image

主题

Interactive Tool Workflow

Learn how to create an interactive tool and how to associate it with a target image.

Interactive Image Viewing and Processing Tools

Interactive tools enable you to get information about image data and perform operations such as contrast adjustment and cropping.

Add Scroll Panel to Figure

When you put an image in a scrollable window, the object hierarchy of the displayed image changes.

特色示例