<< Image display Image display matplot >>

scicv >> Image display > imshow

imshow

Displays an image in an OpenCV window.

Syntax

imshow(windowName, image

Parameters

windowName

Name of the OpenCV window.

image

Image to be displayed (Mat).

Description

imshow displays an image in an OpenCV window (not a Scilab figure).

Examples

scicv_Init();

img_gray = imread(getSampleImage("shapes.png"), CV_LOAD_IMAGE_GRAYSCALE);

imshow(img_gray);

delete_Mat(img_gray);

See also


Report an issue
<< Image display Image display matplot >>