<< imdrawcontours Structural Analysis and Shape Descriptors Super Resolution >>

IPCV - Image Processing and Computer Vision Toolbox for Scilab >> Structural Analysis and Shape Descriptors > imfindcontours

imfindcontours

Finds contours in a binary image.

Syntax

Sc = imfindcontour(Sbw)

Parameters

Sbw :

Input binary image

Sc :

Output labelled image with detected contours, each contour labelled with same indices.

Description

This function used to find the contours of a binary image, returned in labelled image format.

Examples

S = imread(fullpath(getIPCVpath() + "/images/coins_gray.jpg"));
Sbw = im2bw(S,0.5);
Sc = imfindContours(Sbw);
So = imdrawContours(Sc);
imshow(So);

See also

Authors

Bibliography

1. OpenCV 2.4 Online Documentation


Report an issue
<< imdrawcontours Structural Analysis and Shape Descriptors Super Resolution >>