FUNCTION REFERENCE
imshowpair
Show two images as a composite.
Show two images as a composite.
Syntax
imshowpair(A, B)Syntax
imshowpair(A, B, method)Syntax
h = imshowpair(..., 'Scaling', scaling, 'ColorChannels', channels, 'Parent', ax)Syntax
imshowpair(A, RA, B, RB, ...)Shows imfuse(A, B, ...) with imshow in the current axes, or in the axes given by 'Parent'; methods 'falsecolor' (default), 'blend', 'diff', 'montage' and 'checkerboard' and the Scaling and ColorChannels options are those of imfuse. h is the image object; its CData is the uint8 composite. Works without a window: save the figure with saveas or exportgraphics.
Example
h = imshowpair(uint8(magic(4)), uint8(magic(4)'), 'diff'); size(h.CData) % [4 4]Example
imshowpair(rand(8), rand(8), 'montage', 'Scaling', 'joint')Differences from MATLAB: 'Interpolation' ('nearest' or 'bilinear') is accepted and ignored; imshowpair(A, RA, B, RB) shows imfuse(A, RA, B, RB, ...) (the union of both world extents, see imfuse) as a plain image in pixel coordinates, not placed at RC's world limits.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.