Main Content

构建交互式工具

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

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

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

函数

全部展开

imageinfoImage Information tool
imcolormaptoolChoose Colormap tool
imcontrastAdjust Contrast tool
imcrop裁剪图像
imcrop3Crop 3-D image (自 R2019b 起)
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 to get filename of image file
imputfileDisplay Save Image dialog box to set filename of image file
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

主题