| Image Processing Toolbox | ![]() |
Display multiple image frames as a rectangular montage
Syntax
Description
montage displays all of the frames of a multiframe image array in a single image object, arranging the frames so that they roughly form a square.
montage(I) displays the k frames of the intensity image array I. I is m-by-n-by-1-by-k.
montage(BW) displays the k frames of the binary image array BW. BW is m-by-n-by-1-by-k.
montage(X,map) displays the k frames of the indexed image array X, using the colormap map for all frames. X is m-by-n-by-1-by-k.
montage(RGB) displays the k frames of the truecolor image array RGB. RGB is m-by-n-by-3-by-k.
h = montage(...) returns the handle to the image object.
Class Support
The input image can be of class logical, uint8, uint16, or double.
Example
See Also
| medfilt2 | nlfilter | ![]() |