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!