image thumbnail

imdisp

version 1.12.0.0 (7.02 KB) by Oliver Woodford
Display multiple images as a montage of subplots

9.9K Downloads

Updated 08 Jul 2014

View License

This function combines the functionality of IMAGE, IMAGESC, IMSHOW and MONTAGE.
In particular, it improves upon the MONTAGE function in the Image Processing Toolbox in these ways:
- Image Processing Toolbox not required
- Images are placed in subplots, so can be zoomed separately.
- Small images are properly enlarged on screen.
- Gaps can be placed between images.
- Images can be viewed on a grid smaller than the number of images.
- Surplus images can be viewed by scrolling through pages.
- A directory of images can be viewed easily, by calling IMDISP with no arguments (a visual DIR).

To see two useful modes of operation try the following:

load mri
figure;
imdisp(D, bone(256));
figure;
imdisp(D, bone(256), 'Size', 1);

Use arrow keys to scroll through the image set with the single image.

This function is now included in the sc package:
http://www.mathworks.com/matlabcentral/fileexchange/16233
The version here will not be maintained.

Cite As

Oliver Woodford (2021). imdisp (https://www.mathworks.com/matlabcentral/fileexchange/22387-imdisp), 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!