radius of elliptical mask

1 view (last 30 days)
Debanjana  Debnath
Debanjana Debnath on 12 Aug 2014
Commented: Image Analyst on 14 Aug 2014
how to design an elliptical mask for an input image? what should be its radius??

Accepted Answer

Image Analyst
Image Analyst on 12 Aug 2014
Obviously the radius is up to you. It depends on the size of the thing in your image that you want to mask. There is no one size, or even rule of thumb, that works for every image in the universe, in case that's what you were thinking.
  2 Comments
Debanjana  Debnath
Debanjana Debnath on 14 Aug 2014
why need to use meshgrid??
Image Analyst
Image Analyst on 14 Aug 2014
You don't have to. You only have to do that if you want the ellipse "solid". If you just want perimeter coordinates, you can use the second example.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!