segment the circular regions

1 次查看(过去 30 天)
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]);

采纳的回答

Image Analyst
Image Analyst 2015-11-6
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.

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by