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...
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148894/image.png)
댓글 수: 0
채택된 답변
Image Analyst
2015년 9월 10일
Use imresize() with the 'nearest' option, then crop. Figuring out where to crop to might be somewhat tricky.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!