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 ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/283668/image.png)
댓글 수: 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!