How to shrink a binary image of an irregular object?
조회 수: 12 (최근 30일)
이전 댓글 표시
I have a binary image of an irregular object. Any clue on how to shrink this object, for example, by 20pixel from all directions?
I tried tracing the boundary and edit the coordinates but it was not practical.
댓글 수: 0
채택된 답변
Sean de Wolski
2014년 3월 27일
A few ways:
doc imerode
Or if you need to maintain objects:
doc bwmorph
Look at the skel and thin options.
댓글 수: 3
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!