Piranha ES-Sx User Manual
Teledyne DALSA
03-032-20162-00
35
Subtracting Background
Purpose:
Use the background subtract command after performing flat field
correction if you want to improve your image in a low contrast
scene. You should try to make your darkest pixel in the scene
equal to zero.
Sytax
ssb i
Syntax Elements:
i
Subtracted value in a range in DN from 0 to 4096 (14 bit LSB).
Notes:
•
See the following section for details on the
Related Commands
Example
ssb 500
Setting System Gain
Purpose:
Improves signal output swing after a background subtract. When
subtracting a digital value from the digital video signal, using the
command, the output can no longer reach its maximum. Use
this command to correct for this where:
ssg value =
max output val ue
max output val ue - ssb value
Syntax:
ssg i
Syntax Elements:
i
Gain setting. The gain ranges are 0 to 61439. The digital
video values are multiplied by this value where:
System Gain=
i
4096
1 +
Notes:
•
Use this command in conjunction with the
(described above).
•
Digital offset is set to zero after sending the
Related Commands:
ssb, sab
Example:
ssg 4500
Adding Background
Purpose:
Use the background add command after performing flat field
correction if you want to improve your image in a high contrast
scene. Use this command to increase the true black above 0 DN.
Sytax
sab i
Syntax Elements:
i
Add value in a range in DN from 0 to 4096 (14 bit LSB).
Notes:
•
See the following section for details on the
ssg
command.
Related Commands
ssg, ssb
Example
sab 500