Create and Output Montage of Images

Create a montage of images; optionally include image names


Updated 2 Feb 2015

View License

Creates, but does not display, a UINT8 montage image comprising the images named in cellArrayOfImages. Images may be of different sizes and classes. You can choose whether to maintain or ignore aspect ratios.

imgOut = createMontage(cellArrayOfImages)
imgOut = createMontage(cellArrayOfImages,PVs)

Optionally, include the partial or fullfile names of the images. Easily specify the arrangement of subimages and the properties of burned text.
Thanks to Steve Eddins for the use of his linewrap function.

Cite As

Brett Shoelson (2023). Create and Output Montage of Images (, MATLAB Central File Exchange. Retrieved .

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

Inspired by: Line-wrap a string

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes