Piranha Color Camera User’s Manual
29
DALSA
03-032-10211-01
5/9/2007
Syntax:
scc Co C1 C2 C3
Syntax Elements:
Co
= offset (0 to 4095)
C1
= red multiplier (-8192 to +8191)
C2
= green multiplier (-8192 to +8191)
C3
= blue multiplier (-8192 to +8191)
Note:
Set coefficients used to combine three color streams, e.g.
White =
C
0
+ (
C
1
x Red) + (
C
2
x Green) + (
C
3
x Blue)
C
0
is a DN, whereas:
Coefficient =
C
1-3
/ 4,096
Modified by set color command (SCL):
RGB: White
R|G|B: Red, Green, or Blue
All colors are not necessary because constructing white is
different
Factory (initial) values combine the three colors equally:
White = 0 + (0.33 x Red) + (0.33 x Green) + (0.33 x Blue)
C
n
= 0.33 x 4,096= 1,365
Red = 0 + (1 x Red) + (0 x Green) + (0 x Blue)
C
1
= 1 x 4,096= 4,096
Range of {-8,192 to +8,191} is equivalent to floating point
coefficients of {-2.0 to +1.999}
Step size is 0.000244
Values are saved with camera settings
Values may be viewed with GCP or GET SCC
Example:
White = 100 + (0.25 x Red) + (-0.15 x Green) + (0.8 x Blue)
Therefore,
C1 = 0.25 x 4096 = 1024
C2 = (-0.15 x 4096) = -614
C3 = 0.8 x 4096 = 3276
OK>scl RGB
OK>scc 100 1024 -614 3276
3.9 Camera Selection Variables
There are some camera condition variables that you should determine before adjusting
any digital or analog settings like gain or offset or before changing the camera’s
exposure time. These variables are:
the color (or colors) that you want to adjust
the set number where you want to save any of these adjustments
the region of interest for performing these adjustments
Setting the Color Variable
Purpose:
Selects the color or colors that you want to adjust with the
ccf
,
ccg
,
ccp
,
cpa
,
dpc
,
gfc
,
gl
,
gla
,
gpc
,
sag
,
sao
,
sdo
,
set
,
sfc
,
spc
,
ssb
,
ssg
commands.
Syntax:
scl s
Syntax Elements:
s
Summary of Contents for PC-30-02K80
Page 6: ...Piranha Color Camera User s Manual 6 DALSA 03 032 10211 01 5 9 2007...
Page 32: ...Piranha Color Camera User s Manual 32 DALSA 03 032 10211 01 5 9 2007 Exposure Modes in Detail...
Page 72: ...Piranha Color Camera User s Manual 72 DALSA 03 032 10211 01 5 9 2007...
Page 88: ...Piranha Color Camera User s Manual 88 DALSA 03 032 10211 01 5 9 2007...
Page 90: ...Piranha Color Camera User s Manual 90 DALSA 03 032 10211 01 5 9 2007...
Page 92: ...Piranha Color Camera User s Manual 92 DALSA 03 032 10211 01 5 9 2007...
Page 94: ...Piranha Color Camera User s Manual 94 DALSA 03 032 10211 01 5 9 2007...