<< Image display Image display Image filtering >>

scicv >> Image display > matplot

matplot

Displays an image

Syntax

img = matplot(img)

Parameters

img

Image to be displayed (Mat or a 2D matrix).

Description

matplot displays an image, which type can be:

Examples

scicv_Init();

img = imread(getSampleImage("lena.jpg"));

matplot(img);

delete_Mat(img);
scicv_Init();

img_gray = imread(getSampleImage("lena.jpg"), CV_LOAD_IMAGE_GRAYSCALE);

matplot(img_gray);

delete_Mat(img_gray);

See also


Report an issue
<< Image display Image display Image filtering >>