IPTImages

Returns a list or selectable UI of images in specified directory. By default, shows IPT demo images.
2K Downloads
Updated 6 May 2009

View License

IPTIMAGES returns a list of images, or a GUI interface for the selection/viewing of images, in a user-specified directory. IF NO DIRECTORY IS SPECIFIED: shows images that ship with the Image Processing Toolbox (IPT), and creates a GUI interface for selecting/viewing them.

SYNTAX:
imgs = iptimages(showListbox,targetDir)
Returns in IMGS a cell array of the names of images in directory TARGETDIR. Additionally, if showListbox == 1, creates a UICONTROL listbox that allows selection and visualization of the images.

NOTE: Listbox display requires GUI files: IPTShowIms.fig and IPTShowIms.m (included). Also, this list/listbox includes all images in the IMDEMOS folder.

Cite As

Brett Shoelson (2024). IPTImages (https://www.mathworks.com/matlabcentral/fileexchange/22089-iptimages), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.6.0.0

A user brought to my attention (thank you, preeti!) that I had neglected to include a necessary function (imgformats). Apparently, no one who has downloaded this to date has been able to run it?!? Anyway, the function is now included.

1.4.0.0

V 2.0. Now supports browsing/refreshing to view images in different directories, export of images/maps (to automatically incremented variable names), display of selected metadata, and inclusion of demo images stored as MAT files.

1.3.0.0

Modified to allow specification of the target directory, though the default still shows IPT demo images.

1.0.0.0