Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How can i calculate over segmentation and under segmentation
조회 수: 1 (최근 30일)
이전 댓글 표시
i am working on image-segmentation, now i have to calculate over and under segmentation percentage of my result. can anyone please help me how to calculate these ?
댓글 수: 4
Rik
2017년 2월 27일
You are trying to divide two struct, which is not possible. Furthermore, you are aware that you are using after-division? The difference is 1/3=0.3333 and 1\3=3.
If you refuse to use my code, you can use regionprops, but you should still extract the area from the struct. So your line should look like
overSegmentation = ((Vauto.Area\Vmanual.Area)\Vmanual.Area);
This line will only work if there is only a single connected mass in your image.
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!