필터 지우기
필터 지우기

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.

답변 (2개)

Walter Roberson
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
ANKUR
ANKUR 2013년 3월 12일
Yes dear Walter i have turned off all settings leading to auto control for the calibration purpose to count the no of green pixels based on their color intensity in lab condition. While moving to the field i am facing some difficulties like intensities of rgb varies with the solar light intensity. So to use web cam as a color sensor to identify weeds the values are different than calibrating equations.
But it is impossible to provide artificial light to the entire test field. So i will try to follow your suggestion tomorrow by turning on some functions suggested by you. Thanks for your reply Mr. Walter Roberson.
Walter Roberson
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
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.

카테고리

Help CenterFile Exchange에서 Agriculture에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by