How do I differentiate plastic water bottles having different sizes?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158981/image.jpeg)
0 comentarios
Respuestas (1)
Image Analyst
el 19 de Mzo. de 2014
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..
0 comentarios
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!