How to create a mask

10 Ansichten (letzte 30 Tage)
divya r
divya r am 6 Mai 2014
Beantwortet: Image Analyst am 7 Mai 2014
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?

Akzeptierte Antwort

Image Analyst
Image Analyst am 7 Mai 2014
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.

Weitere Antworten (0)

Kategorien

Mehr zu Author Block Masks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by