Display image in graphic window
imshow(im) imshow(im, varargin) imshow(im, [colormap, outopt, handle])
Input image
Colormap for the image, defined in Nx3 matrix
Output options, 0 for Scilab graphics, 1 for uicontrol, 2 for tcl/tk
Handle for which the image will shown
Show images in different types, double (0-1), uint8(0-255), binary, and others supported image datatype.
im = imread(fullpath(getIPCVpath() + "/images/baboon.png")); imshow(im); f = scf(); imshow(im, 1); if with_tk() then imshow(im, 2); end | ![]() | ![]() |