Clear Filters
Clear Filters

get more from the borders of binary image...

1 view (last 30 days)
i obtained a binary image as shown in the first column.... i wanted to get more from the borders of image as shown in 2nd column... i used imdilate, but the edges i get is not smooth, how to get the edges more in shape as demonstrated in 2nd column...

Accepted Answer

Image Analyst
Image Analyst on 10 Sep 2015
Use imresize() with the 'nearest' option, then crop. Figuring out where to crop to might be somewhat tricky.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!