Asymmetric boundary - Image Processing
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, I've got this project where I grade cashews based on their color and size and I have written a code which does that too. I have used the concept of bounding boxes to extract a single cashew from an image containing multiple cashews. This posed a problem in that I have parts of neighboring cashews getting included in another cashew 'Bounding box'. I have attached a extracted cashew image and the original image from which it was extracted for reference. My question is; is there any technique for a asymmetric boundary rather than a symmetric boundary like a bounding box? It would do me good if there was a technique to get a boundary that goes around the cashew so that there would be no invasions from neighboring cashews. Thank you for your help!
Note: I have used regionstats (with bounding box attribute) and imcrop to extract cashews.
댓글 수: 1
Image Analyst
2015년 12월 13일
편집: Image Analyst
2015년 12월 13일
A discussion on this has already started in your duplicate question. http://www.mathworks.com/matlabcentral/answers/260113-how-to-apply-a-function-to-every-element-of-a-matrix#answer_203101
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!