Main Content

Build Interactive Tools

Use interactive image display and exploration tools with images displayed in a figure window, and create custom image processing apps from modular building blocks

You can use modular interactive tools independently or in combination to create custom image processing apps. For example, you can create apps that display pixel and image information, enable magnification and navigation aids, and modify images by cropping or adjusting image contrast.

To help you create tools that integrate well with the existing modular interactive tools, the toolbox includes many utility functions that perform commonly needed tasks. For example, the utility functions can add callback functions that perform actions in response to movements of the mouse and align figure windows in relation to a fixed window. You can also get information about image properties and attributes.


expand all

imageinfoImage Information tool
imcolormaptoolChoose Colormap tool
imcontrastAdjust Contrast tool
imcropCrop image
imcrop3Crop 3-D image (Since 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
imsaveSave image using interactive dialog window
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