Double region of interest mode (d), See chapter, Double region of – ALLIED Vision Technologies Bonito CL-400 200 fps User Manual
Page 40: Interest mode (d)

Parameters and commands
Bonito Technical Manual V2.3.0
40
•
Send the following serial command to record and apply new correction
data. The camera answers with a new prompt sign if the command has suc-
cessfully completed. The execution lasts for the duration of some images.
>C=1[CR]
>
Use the command
C=3 to re-enable the FPN correction without acquiring
new correction data. Instead, the correction data acquired by the last
C=1 call will be used. However, correction data is not stored beyond
power loss.
Double region of interest mode (D)
In double ROI mode (
D=1) the camera outputs two equally sized regions of
interest. Both ROIs share the parameters
N and I and are output as two halves
of one image. The top half contains the lines of the primary ROI (ROI1), the bot-
tom half the lines of the secondary ROI (ROI2) accordingly.
The starting line address for ROI1 is configured using the parameter
A.
Parameter
B controls the starting line address of ROI2. Each ROI has the height
of (N + 1) lines, the resulting image has (N + 1) * 2 lines.
Parameter
D also has an influence on the number of frames per second possible.
Use the following formula to calculate the exact number:
•
Max fps = 1 / ((D + 1) * (N + 1) + 1 + IOD) * t
L
);
he parameters are explained in the table below
Note
The correction data is volatile. So this command should be exe-
cuted at least once after switching-on for best performance.
Parameter
Value
D
Parameter
D
N
Parameter
N
IOD
IOD=0 if Continuous mode (e.g.
M=0),
IOD=1 if not in Continuous mode
t
L
t
L
= 3 μs in single CL channel mode (e.g.
S=0),
t
L
= 1.5 μsin dual CL channel mode (e.g.
S=1)
Table 6: Parameters for fps calculation