Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
roipoly with a specified area
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi there, I am interested in specifiying a region of interest in an image, with a specified area A. A possibility is maybe to modify the roipoly function, but I don't know how to do it quickly.
I am quite new and I don't know if in matlab there are similar functionalities...
Thanks to all
Alessio
댓글 수: 0
답변 (2개)
Sean de Wolski
2011년 7월 18일
How about poly2mask?
doc poly2mask
댓글 수: 2
Sean de Wolski
2011년 7월 19일
Well, yes you'll probably have to write some code. But you can easily and quickly generate masks of a non-convex area with poly2mask, and then sum it or use bwarea to get its area, and then dilate it or erode it automatically if too big or too small.
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!