how can i measure the longest point of my lightning image?
16 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
Image Analyst
2019 年 4 月 8 日
One way to find the longest spine might be to compute the skeleton and endpoints with bwmorph(). Then compute distance between all identified endpoints with bwdistgeodesic(). See Steve's Image Processing blog
Then find out which pair of endpoints had the longest distance.
その他の回答 (1 件)
darova
2019 年 4 月 8 日
Draw black (0,0,0) line you want to calculate the length
See attached script
6 件のコメント
Image Analyst
2019 年 4 月 9 日
If you're going to draw a black line with paint, then you might as well use imfreehand() in MATLAB. I think he was looking for an automatic way, like me (below) or Matt J (above in comments section) suggested. That said, sometimes it's more time effective to employ user-assisted image analysis than trying months or years to get an automatic method (luckily this application won't take anywhere near that long).
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!