How to skeletal the image ?
조회 수: 3 (최근 30일)
이전 댓글 표시
Do we find out the exact length (In pixels) of horizontal and vertical line....
댓글 수: 0
채택된 답변
Image Analyst
2013년 12월 28일
To get the skeleton:
skelImage = bwmorph(binaryImage, 'skel', inf);
to find the number of pixels in that:
theNumberOfPixels = sum(skelImage(:));
댓글 수: 2
Image Analyst
2013년 12월 30일
Skeletons are only one pixel wide - that's the definition of them. Perhaps you were thinking of the binary image, like
binaryImage = realImage > 30; % or whatever value you want.
This will have some width to the lines.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!