Segment layers of an image
이전 댓글 표시
I have an image and there is a varnish applied. I want to segment the varnish area as seen in the image, and then find the volume of it. How would I go about doing that?
답변 (1개)
Rahul
2023년 2월 20일
There are many segmentation algorithms that you can leverage such as region growing, Graph-Based Segmentation, Clustering, etc. Please find the documentation link below to know more about them:
Now to calculate the volume of the segmented area, you can use "regionprops" in-built function. As the image is in 2D format, you will be able to calculate its area as follows:
>> measurements = regionprops(segmented_binary_2Dimage, 'Area');
>> measurements = regionprops3(segmented_binary_3Dimage, 'Volume');
카테고리
도움말 센터 및 File Exchange에서 Image Segmentation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!