How to differentiate objects ahving different sizes?

2 Ansichten (letzte 30 Tage)
Getruda
Getruda am 28 Mär. 2014
Kommentiert: Getruda am 28 Mär. 2014
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

Akzeptierte Antwort

Image Analyst
Image Analyst am 28 Mär. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by