Operation and Features
3-42 BASLER L304kc
Draft
3. Signal the camera to generate a set of DSNU shading values:
a) You can start the generation of a set of DSNU shading values with the Camera
Configuration Tool Plus (see Section 4.1). With the CCT+, you use the Shading Value
Generate parameter in the Image Enhancement parameters group to start the generation
of a set of DSNU shading values.
b) You can also start the generation of a set of DSNU shading values by using a binary
write command (see Section 4.3) to write a value to the Generate field of the Shading
Value Generate CSR (see page 4-32).
4. The camera must complete at least 16 image capture cycles to create a set of DSNU
shading correction values. If your camera is set to control exposure with an ExSync signal,
you must generate at least 16 ExSync signal cycles after you signal the camera to begin
generating the values. If you are running the camera in a free-run exposure mode, you must
wait long enough for the camera to complete at least 16 captures.
a) When the camera is capturing the lines it needs to create the DSNU shading values, the
line valid and data valid signals will go high and low as you would normally expect. The
data in these lines, however, is not useful to you and should be ignored.
5. Once 16 image capture cycles have been completed, the camera uses the following process
to calculate a set of DSNU shading correction values for each of the three lines:
a) The camera uses the captured data to calculate an average gray value for the pixels in
the line.
b) The camera finds the pixel in the line with the highest average gray value.
c) For each of the other pixels in the line, the camera determines the offset that would be
needed to make that pixel’s average value equal to the average value for the highest
pixel.
d) The camera creates a set of DSNU shading values for the line that contains the
calculated offsets.
The set of DSNU values for each line is placed in the camera’s volatile memory. These values
overwrite any DSNU shading values that are already in the memory. The current set of DSNU
values in the volatile memory is used whenever DSNU is enabled.
L
If you started the generation of the shading values using the CCT+, you are using
an ExSync signal to trigger line capture and you are operating the camera at a line
period greater than approximately 300 ms, you should be aware of a potential prob-
lem. Under these conditions, the CCT+ may time out while it is waiting for the cam-
era to capture 16 lines and you may see a “Camera is not responding ...” error
message. This error is not fatal to the shading value creation process. If you close
the error message window, wait several seconds and then click the Refresh button
on the CCT+, the shading values will be properly created.
If you started the generation of the shading values using binary commands, you are
using an ExSync signal to trigger line capture and you are operating the camera at
very low line rates, you should be aware of a restriction. The camera will not ac-
knowledge or respond to binary commands while it is performing the 16 line cap-
tures needed to create a set of shading values. Once you have issued the binary
command to start generating shading values, you should wait until the generation
process is complete before you issue any further binary commands. The time
needed to complete the generation process will be equal to 16 times the line period.