Lars O. Grobe
2014-09-20 20:06:54 UTC
Dear all,
I have to admit that I am still new to image capturing. What I am trying
to do is to get sensor data from a simple webcam with as little
auto-"correction" done on the device as possible. The reason is that I
want to get close to a linear relation pixel-value / illuminance on ccd
pixel.
I am using an uvc-webcam from Logitech, and I can switch off
auto-exposure. However, when changing exposure, I get an unexpected
result. I have a scene where everything is dark except a light source,
which is directly visible to the camera. The bright pixels of the source
get darker with shorter exposure times. However, when these bright
pixels get darker, the "black" background becomes lighter. In the end,
all I get is a uniform grey.
I am suspecting the conceptness of brightness (which is said to be the
black-level in the v4l2 documentation) to be the culprit. Is it correct,
that this setting determines the amount of black in the output, so that
the average pixel values in the image do not fall below a given value?
That would explain my observation. If so, is there a way to switch it
off? I am already capturing yuv.
Thanks in advance for any help, cheers,
Lars.
I have to admit that I am still new to image capturing. What I am trying
to do is to get sensor data from a simple webcam with as little
auto-"correction" done on the device as possible. The reason is that I
want to get close to a linear relation pixel-value / illuminance on ccd
pixel.
I am using an uvc-webcam from Logitech, and I can switch off
auto-exposure. However, when changing exposure, I get an unexpected
result. I have a scene where everything is dark except a light source,
which is directly visible to the camera. The bright pixels of the source
get darker with shorter exposure times. However, when these bright
pixels get darker, the "black" background becomes lighter. In the end,
all I get is a uniform grey.
I am suspecting the conceptness of brightness (which is said to be the
black-level in the v4l2 documentation) to be the culprit. Is it correct,
that this setting determines the amount of black in the output, so that
the average pixel values in the image do not fall below a given value?
That would explain my observation. If so, is there a way to switch it
off? I am already capturing yuv.
Thanks in advance for any help, cheers,
Lars.