How to find regions of any image using active contour
Show older comments
I = imread('toyobjects.png'); imshow(I) hold on title('Original Image'); mask = false(size(I)); mask(50:150,40:170) = true; contour(mask,'Color','b'); w = activecontour(I, mask, 200, 'edge'); contour(bw,'Color','r'); title('Initial contour (blue) and final contour (red)');
Accepted Answer
More Answers (0)
Categories
Find more on Active contours in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!