Hi
I am trying to create a mask for an image which has multiple circles in it. I have tried using filledCircle function. But it only adds the circle to the figure, and does not change the image itself.
I there any other way I can create the masks given the centers and the radii of the circles?

 채택된 답변

Image Analyst
Image Analyst 2014년 5월 7일

0 개 추천

You can use the FAQ - it creates a circle that can be used as a mask. http://matlab.wikia.com/wiki/FAQ#How_do_I_create_a_circle.3F
Also, see my attached demos.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Author Block Masks에 대해 자세히 알아보기

질문:

2014년 5월 6일

답변:

2014년 5월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by