필터 지우기
필터 지우기

How do I differentiate plastic water bottles having different sizes?

조회 수: 3 (최근 30일)
Getruda
Getruda 2014년 3월 19일
편집: Image Analyst 2014년 3월 19일
Hello. I have to recognize different sized plastic bottles and count only one size.I am new at matlab. Can I have help on that. Here are the samples. Thanks

답변 (1개)

Image Analyst
Image Analyst 2014년 3월 19일
If they don't overlap and have a pure white background, it's trivial. Just threshold and calculate the area(s). See my image segmentation tutorial http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
If they overlap it's much tougher. For example if that small Vhai bottle was positioned right at the center of the larger bottle, then you may have to look at other characteristics, such as finding a cap and estimating the size of the cap. That would be a huge jump in complexity from a simple thresholding situation. Hopefully your homework assignment or small project doesn't want you to do something as difficult as finding overlapped and partially visible (obscured, occluded) bottles..

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by