4.12
Test Images
Test images are generated in the camera FPGA, independent of the image sensor. They can be
used to check the transmission path from the camera to the frame grabber. Independent from
the configured grey level resolution, every possible grey level appears the same number of
times in a test image. Therefore, the histogram of the received image must be flat.
A test image is a useful tool to find data transmission errors that are caused most
often by a defective cable between camera and frame grabber in CameraLink
®
cameras. In Gigabit Ethernet cameras test images are mostly useful to test the
grabbing software.
The analysis of the test images with a histogram tool gives the correct result at a
resolution of 1024 x 1024 pixels only.
4.12.1
Ramp
Depending on the configured grey level resolution, the ramp test image outputs a constant
pattern with increasing grey level from the left to the right side (see Fig. 4.57).
Figure 4.57: Ramp test images: 8 bit output (left), 10 bit output (middle),12 (right)
4.12.2
LFSR
The LFSR (linear feedback shift register) test image outputs a constant pattern with a
pseudo-random grey level sequence containing every possible grey level that is repeated for
every row. The LFSR test pattern was chosen because it leads to a very high data toggling rate,
which stresses the interface electronic.
In the histogram you can see that the number of pixels of all grey values are the same.
Please refer to application note [AN026] for the calculation and the values of the LFSR test
image.
4.12.3
Troubleshooting using the LFSR
To control the quality of your complete imaging system enable the LFSR mode, set the camera
window to 1024 x 1024 pixels (x=0 and y=0) and check the histogram. If your frame grabber
application does not provide a real-time histogram, store the image and use a graphic software
tool to display the histogram.
In the LFSR (linear feedback shift register) mode the camera generates a constant
pseudo-random test pattern containing all grey levels. If the data transmission is error free, the
histogram of the received LFSR test pattern will be flat (Fig. 4.59). On the other hand, a
4.12 Test Images
75
Summary of Contents for SM2-D1312-TI6455
Page 1: ...User Manual SM2 D1312 TI6455 VisionCam PS CMOS DSP Camera MAN060 05 2013 V1 0...
Page 2: ......
Page 4: ...2...
Page 8: ...CONTENTS 6...
Page 48: ...4 Functionality Figure 4 28 Example of decimation 2 on image of injection needle 46...
Page 80: ...4 Functionality 78...
Page 110: ...6 Framework Functionalities 108...
Page 116: ...8 Warranty 114...
Page 118: ...9 References 116...
Page 122: ...A Pinouts 120...
Page 123: ...B Revision History Rev 1 0 May 2013 First version 121...