Re: disable automatic gain control
Thanks Steven, I will try that.
-Mike
On 6/1/12, Steven Hang <me@...> wrote:
> On a Pt. Grey Chameleon USB camera, you can set manual gain using
>
> dc1394_feature_set_mode(camera, DC1394_FEATURE_GAIN,
> DC1394_FEATURE_MODE_MANUAL)
>
> If you are interested in setting the absolute gain, you can turn on that
> feature using these two methods:
>
> dc1394_feature_set_absolute_control(camera, DC1394_FEATURE_GAIN,
> DC1394_ON);
> dc1394_feature_set_power(camera, DC1394_FEATURE_GAIN, DC1394_ON );
>
> and setting the value using the following method:
>
> dc1394_feature_set_absolute_value(camera, DC1394_FEATURE_GAIN, float
> value);
>
> Hope this helps.
>
> On Fri, Jun 1, 2012 at 11:23 AM, Michael Williamson <
> michael.h.williamson@...> wrote:
>
>> Hi, I have a question.
>>
>> How do I disable automatic gain control?
>> I have a Marlin F131B. All of the camera settings
>> appear to be in MAN mode, yet the gain changes
>> by itself. The camera must be doing it. Here is the
>> features printout:
>>
>> avt_adv_feature.ExtdShutter = 1
>> shutter min = 1, shutter max = 4095
>> gain min = 1, gain max = 14
>> ------ Features report ------
>> OP - one push capable
>> RC - readout capable
>> O/OC - on/off capable
>> AC - auto capable
>> MC - manual capable
>> ABS - absolute capable
>> -----------------------------
>> Brightness:
>> RC MC (active is: MAN)
>> min: 0 max 127
>> current value is: 63
>> Exposure:
>> RC MC (active is: MAN)
>> min: 50 max 205
>> current value is: 125
>> Sharpness:
>> NOT AVAILABLE
>> White Balance:
>> NOT AVAILABLE
>> Hue:
>> NOT AVAILABLE
>> Saturation:
>> NOT AVAILABLE
>> Gamma:
>> RC O/OC MC (active is: MAN)
>> Feature: OFF min: 0 max 1
>> current value is: 0
>> Shutter:
>> RC MC (active is: MAN) AC (active is: MAN)
>> min: 1 max 4095
>> current value is: 2000
>> Gain:
>> RC MC (active is: MAN)
>> min: 1 max 14
>> current value is: 1
>> Iris:
>> NOT AVAILABLE
>> Focus:
>> NOT AVAILABLE
>> Temperature:
>> NOT AVAILABLE
>> Trigger:
>> RC O/OC
>> Feature: OFF
>> AvailableTriggerModes: 384 385 391
>> AvailableTriggerSources: none
>> Polarity Change Capable: True
>> Current Polarity: NEG
>> current mode: 384
>> Trigger Delay:
>> RC O/OC MC (active is: MAN) ABS
>> Feature: OFF min: 0 max 4095
>> current value is: 0
>> absolute settings:
>> value: 0.000000
>> min: 0.000001
>> max: 2.097152
>> White Shading:
>> NOT AVAILABLE
>> Frame Rate:
>> NOT AVAILABLE
>> Zoom:
>> NOT AVAILABLE
>> Pan:
>> NOT AVAILABLE
>> Tilt:
>> NOT AVAILABLE
>> Optical Filter:
>> NOT AVAILABLE
>> Capture Size:
>> NOT AVAILABLE
>> Capture Quality:
>> NOT AVAILABLE
>>
>>
>> Thanks,
>> -Mike
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Mailing list for libdc1394-devel
>> libdc1394-devel@...
>> https://lists.sourceforge.net/lists/listinfo/libdc1394-devel
>>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/