get more from the borders of binary image...

1 次查看(过去 30 天)
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...

采纳的回答

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

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by