measure the maximum distance in millimeters(mm)
2 ビュー (過去 30 日間)
古いコメントを表示
How can I measure the maximum width of the white shape in millimeters(mm) not in pixels ?
0 件のコメント
回答 (1 件)
Image Analyst
2020 年 4 月 11 日
Then you need to multiply by the number of millimeters per pixel:
props = regionprops(binaryImage, 'BoundingBox')
width = props.BoundingBox(3) * mmPerPixel;
See attached demo.
4 件のコメント
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!