Piranha HN RoHS User Manual
Teledyne DALSA
03-032-20135-00
37
Setting a Region of Interest
Purpose:
Sets the pixel range used to collect the end-of-line statistics and sets the region of pixels
used in the
ccg
,
cpa
,
gl
,
gla
, and
ccf
commands.
In most applications, the field of view exceeds the required object size and these
extraneous areas should be ignored. It is recommended that you set the region of
interest a few pixels inside the actual useable image.
Syntax:
roi x1 y1 x2 y2
Syntax Elements:
x1
Column start number. Must be less than or equal to the column end number in a
range from
1
to (column resolution – 1).
y1
Row start number. Must be less than or equal to the row end number in a range
from
1
to (row end number – 1) except in TDI Mode where
y1
must be
1
.
x2
Column end number. Must be greater than or equal to the column start number in
a range from
2
to column resolution.
y2
Row end number. Must be greater than or equal to the row start number in a range
from
2
to number of stages except in TDI Mode where
y2
must be
1
.
Notes:
•
If you are using binning, the start pixel is rounded down to the beginning of
binned area and end pixel is rounded up to the end of the binned area.
•
In Area Mode, the
roi
must be within the stage. If the requested
roi
is above the
stage, the
roi
rows will be clipped. The start and end rows will be clipped to the
stage selection if necessary. A “clipped to max” warning message is returned.
Related Commands
ccg
,
cpa
,
gl
,
gla
,
ccf
Example:
roi 10 1 50 1
(TDI Mode)
Digital Signal Processing Chain
Processing Chain Overview and Description
The following diagram shows a simplified block diagram of the camera’s digital processing chain.
The digital processing chain contains the FPN correction, the digital gain, the PRNU correction, the
background subtract, and the system gain and background addition. All of these elements are user
programmable.
Notes
:
•
FPN and PRNU correction is not available when operating the camera in Area Mode. For details on
how to switch camera operation modes, refer to
Setting a Region of Interest
.
•
The following user settings are stored separately for forward and reverse direction: digital gain,
digital offset, and background subtract. They are saved using the
wus
command.
•
FPN and PRNU coefficients are stored separately for forward and reverse direction. To save the
current PRNU coefficients, use the command
wpc
. To save the current FPN coefficients, use the
command
wfc
. Settings are saved for the current direction only.