can anyone help me with codes for finding red, green and orange individually using a webcamera for sorting,

1 次查看(过去 30 天)
plz someone help me with the program code for sorting tomato if red the camera should detect else should not mark,and similarly yellow for lime,and orange for orange...that is i need three codes for finding each separately,i will run each separately ,and how to create GUI??

回答(1 个)

Image Analyst
Image Analyst 2013-3-8
See my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 for several different color segmentation methods.
Also see this for a nice GUI framework to get you started: http://www.mathworks.com/matlabcentral/fileexchange/24224
  2 个评论
vishnu andavar
vishnu andavar 2013-3-9
can u give me direct code for sorting green ,sorting orange, sorting red color ,three should be different program to run ,so that i can just copy and run the program,,,if possible.thank you
Image Analyst
Image Analyst 2013-3-10
Why do I have to give you "direct code"? Why can't you just adapt the thresholds in the demos I already referred you to? That's what I'd do, but I thin you can do that as well as I can. It's probably better for you to do it because by reviewing it you'll learn something.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by