how to calculate area of tumor in mm^2 from the segmented image??
조회 수: 3 (최근 30일)
이전 댓글 표시
i have read paper for finding area and applying threshold which is as shown below: i did Area= sum(p(:)) instruction for summing all white pixel from the final image.kindly provide suggestions how to proceed to get the final equation from attachment'
댓글 수: 0
답변 (1개)
meghna meghna
2021년 3월 11일
[r,c]=size(image);%image =detected tumor
count=0;
for i=1:r
for j=1:c
if image(i,j)==1
count=count+1;
end
end
end
defect_area=count*0.0055;
댓글 수: 1
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!