How to get an image from the web cam in open condition so that segmentation can be done to identify weeds from crops ??
1 次查看(过去 30 天)
显示 更早的评论
I am using Logitech Quick PRO 9000 webcams for detection of weeds in the fields. The problem is coming while calibrating the image as color intensity is totally depend on sunlight exposure in the field.So how to identify green pixel in sunlight exposure with help of a web am and how to calibrate it ? Whether i have to provide artificial light or how to get a good image from video stream so that segmentation can be done by having a threshold limit of green pixels intensity or what ?? So please suggest me a best way to get out from this problem.
0 个评论
回答(2 个)
Walter Roberson
2013-3-12
Have you turned off RightLight and manually adjusted the settings? How are you calibrating? Have you ensured that there is color constancy over the entire sensor? (It is common for webcams to have color bleed towards the outside of the sensor.)
Have you also turned off autofocus? How are you adjusting the focus?
If you have the resources to provide consistent artificial light to an entire field, then you have the resources to use an instrument-grade camera rather than a webcam.
2 个评论
Walter Roberson
2013-3-12
If I recall correctly, Image Analyst sometimes suggest an illumination correction of an RGB image as
newimg = CurrentImage ./ repmat(max(CurrentImage,3), [1 1 3]);
Image Analyst
2013-3-12
It should not be too hard to discriminate green from brown or black (dirt) in a wide variety of illumination conditions because they are fairly well separated. Of course green weeds from green "good" crops would be a lot tougher. Where did you upload your images? I can look at them with the 3D color gamut inspector to see what their gamut looks like.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!