How to grow original shape?

Dear All,
Question has been removed by mistake, sorry about it!

 Accepted Answer

Image Analyst
Image Analyst on 16 Feb 2015
Make sure that floor(st2.EquivDiameter/2) is equal to 10.

4 Comments

@Image Analyst, thank you for your answer, but why floor(st2.EquivDiameter/2) should be equal to 10?
I thought you said you wanted to grow the shape by 10 pixels. "I have managed to extend the size of original image, but it is not precise 10 pixels." - is that not what you want?
@Image Analyst, I would like to extend size of original shape, so I want to make white circle bigger.
imdilate() does that. I'm not sure why you then passed it through contour() instead of just calling imshow(mm_corn);

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!