imshowcv
Displays an image in the current figure.
Syntax
plothandle = imshowcv(imagedata)
Inputs
- imagedata
- Handle of an image image generated by the ComputerVision library or a real 2D/3D/4D matrix.
Outputs
- plothandle
- Handle of the image shown.
Examples
Display an image using an image handle:
cvhandle = imreadcv('image1.jpg');
plothandle = imshowcv(cvhandle);
Display only the red channel data in an image:
handle = imreadcv('image1.jpg');
m = getcv(handle); % Gets the 3D matrix
m1 = m(:,:,1); % Get the first slice - red
plothandle = imshowcv(m1);