[cpia] CPiA 0.7.2 & Zoomtel camera: Colour balance strangene

Thomas Davis tadavis@lbl.gov
Fri, 03 Mar 2000 10:19:48 -0800


This is a multi-part message in MIME format.
--------------E125F4922989C0FC442E0310
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Peter Pregler wrote:
> it is much brighter. Apparently some correction is triggered. After that
> it settles down close to the same as the linux result. But the end-result
> is still way too redish (see my web-page, url in the signature). So my
> wild guess is that this is a more fundamental problem with the
> color-correction firmware of the CPiA. Can you post your version
> information? I have also seen people posting CPiA-versions
> 1.30. Mine is:
> 
>   CPiA Version: 1.20 (2.0)
>   CPiA PnP-ID: 0553:0002:0100
>   VP-Version: 1.0 0100
> 
> The developers guide does only cover 1.20. So maybe we should ask for an
> updated document?
> 

Interesting.  I've got a v1.20 (2.10) camera, and I get the yellowish
values no matter what I do.

It's from ezonics.

I've attached the /proc/cpia/video0 file.

-- 
------------------------+--------------------------------------------------
Thomas Davis		| PDSF Project Leader
tadavis@lbl.gov		| 
(510) 486-4524		| "Only a petabyte of data this year?"
--------------E125F4922989C0FC442E0310
Content-Type: text/plain; charset=us-ascii;
 name="cpia.proc.txt"
Content-Disposition: inline;
 filename="cpia.proc.txt"
Content-Transfer-Encoding: 7bit

read-only
-----------------------
CPIA Version:             1.30 (2.10)
CPIA PnP-ID:              0553:0002:0100
VP-Version:               1.0 0100
system_state:             0x03
grab_state:               0x38
stream_state:             0x00
fatal_error:              0x00
cmd_error:                0x00
debug_flags:              0x00
vp_status:                0xe0
error_code:               0x02
video_size:               CIF 
sub_sample:               422
yuv_order:                YUYV
roi:                      (  0,   0) to (352, 288)
actual_fps:                14
transfer_rate:              60kB/s

read-write
-----------------------  current       min       max   default  comment
brightness:                   50         0       100        50
contrast:                     48         0        96        48  steps of 8
saturation:                   50         0       100        50
sensor_fps:               15.000         3        30        15
stream_start_line:           240         0       288       240
ecp_timing:               normal      slow    normal    normal
color_balance_mode:         auto    manual      auto      auto
red_gain:                      5         0       212        32
green_gain:                    3         0       212         6
blue_gain:                   212         0       212        92
max_gain:                      2             1,2,4,8         2
exposure_mode:              auto    manual      auto      auto
centre_weight:                on       off        on        on
gain:                          1         1  max_gain         1  1,2,4,8 possible
fine_exp:                    236         0       511         0
coarse_exp:                    4         0     65535       185
red_comp:                      0       220       255       220
green1_comp:                   0       214       255       214
green2_comp:                 192       214       255       214
blue_comp:                   128       230       255       230
apcor_gain1:                0x1c       0x0      0xff      0x1c
apcor_gain2:                0x1a       0x0      0xff      0x1a
apcor_gain4:                0x2d       0x0      0xff      0x2d
apcor_gain8:                0x2a       0x0      0xff      0x2a
vl_offset_gain1:              24         0       255        24
vl_offset_gain2:              28         0       255        28
vl_offset_gain4:              30         0       255        30
vl_offset_gain8:              30         0       255        30
flicker_control:             off       off        on       off
mains_frequency:              50        50        60        50 only 50/60
allowable_overexposure:        0         0       255         0
compression_mode:           auto    none,auto,manual      auto
decimation_enable:           off       off       off       off
compression_target:      quality framerate   quality   quality
target_framerate:              7         0        30         7
target_quality:               10         0       255        10
y_threshold:                  15         0        31        15
uv_threshold:                 15         0        31        15
hysteresis:                    3         0       255         3
threshold_max:                11         0       255        11
small_step:                    1         0       255         1
large_step:                    3         0       255         3
decimation_hysteresis:         2         0       255         2
fr_diff_step_thresh:           5         0       255         5
q_diff_step_thresh:            3         0       255         3
decimation_thresh_mod:         2         0       255         2

--------------E125F4922989C0FC442E0310--