![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
How to differentiate objects ahving different sizes?
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Image Analyst
2014-3-28
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.
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!