Function File: subimage (bw)
Function File: subimage (img)
Function File: subimage (rgb)
Function File: subimage (ind, cmap)
Function File: subimage (x, y, …)
Function File: h = subimage (…)

Display images in subplots.

A single figure, even with multiple subplots, is limited to a single colormap. With the exception of truecolor images, images will use the figure colormap which make it impossible to have multiple images with different display. This function transforms any image in truecolor to workaround this limitation.

The new subimage is displayed as if using image. The optional arguments x and y are passed to image to specify the range of the axis labels.

See also: image, imagesc, imshow, subplot.

Package: image