Clear Filters
Clear Filters

segment the circular regions

1 view (last 30 days)
Elysi Cochin
Elysi Cochin on 6 Nov 2015
Answered: Image Analyst on 6 Nov 2015
i got the center and radius using imfindcircles... how to segment the circular regions out of the image with the centers and radii....
[centers, radii] = imfindcircles(rgb,[20 25]);

Accepted Answer

Image Analyst
Image Analyst on 6 Nov 2015
What does segment out mean to you? You can create a circular mask from code in the FAQ. http://matlab.wikia.com/wiki/FAQ#How_do_I_create_a_circle.3F
Then you can use the mask as an index, or multiply it by the image to produce an image blackened everywhere except in the mask.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!