How to differentiate objects ahving different sizes?

2 visualizzazioni (ultimi 30 giorni)
I have to differentiate plastic water bottles of different sizes using matlab i.e water bottles of different sizes will pass in front of a camera which will capture their image and brought if to PC for processing using matlab and I should be able to count a certain sized bottle and ignore others I have to make our project to distinguish between these two sizes. For demo I will place the bottles by hand. Please find the attached samples

Risposta accettata

Image Analyst
Image Analyst il 28 Mar 2014
I believe I answered that in your duplicate question. http://www.mathworks.com/matlabcentral/answers/122191#answer_129108 But you didn't officially mark it as "Accepted", and I don't see any of your own code posted, so either you didn't see my answer in your duplicate question, or you're waiting for me to do it for you. Again, my Image Segmentation Tutorial, which was a Pick of the Week shows you how to discriminate objects based on size.
Remember, it's your project, so I can't just do it all for you but I'm giving you a huge head start . You should take advantage of that help. All you have to do is to put your bottles on a uniform background and make slight customization to my code, which is well within your capabilities. I know you can do it, I have confidence in you because you're a smart engineer. Post your code here if you need help.

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by