Plot contours on image.
implotContours(img, cntr[, thickness])
Input image
Contour in list
Thickness of the contours
This function used to plot the contours on an image.
S = imread(fullpath(getIPCVpath() + "/images/coins_gray.jpg")); Sbw = im2bw(S,0.5); Sc = imfindContours(Sbw); implotContours(S,Sc,5) | ![]() | ![]() |