Guppy PRO Technical Manual
V4.1.2
102
To build defect pixel data perform the following steps:
Grab an image with defect pixel data
1.
Take the camera, remove lens and put on lens cap.
2.
Set image resolution to Format_7 Mode_x or Format_7 Mode_0 (when
using fixed modes) with Raw8 or Mono8 color encoding, and set AOI to
maximum.
3.
Set values for shutter and gain to maximum.
4.
Grab a single image (one-shot).
Calculate defect pixel coordinates
1.
Accept default threshold from system or choose own threshold.
2.
Set the
BuildDPData
flag to 1.
In microcontroller the defect pixel calculation is started. The detected
defect pixel coordinates are stored.
Defect pixel coordinates are:
– 16-bit y-coordinate and
– 16-bit ×-coordinate
DPC data are organized like this:
The calculated mean value is written in advanced register
Mean
field
(0xF1000298 bit [18..24]).
The number of defect pixels is written in advanced register
DPDataSize
(0xF100029C bit [4..17]). Due to 16-bit format: to get the number of
defect pixels read out this value and divide through 4. For more
information see
Reset values (resolution, shutter, gain, brightness)
1.
Take the camera, remove lens cap and thread the lens onto the camera.
2.
Reset values for image resolution, shutter, gain and brightness (offset) to
their previous values.
3.
Grab a single image (one-shot).
Note
A mean value is calculated over the entire image that was
grabbed previously.
Definition:
A defect pixel is every pixel value of this previously
grabbed image that is:
•
greater than (mean value + threshold), or
•
less than (mean value - threshold)
3116
150
y-coordinate
×-coordinate