TR-33 TR-34 TR-35 Trillium Rhino User's Manual - Frame Grabbers

TR-33 TR-34 TR-35 Trillium Rhino User's Manual - Frame Grabbers TR-33 TR-34 TR-35 Trillium Rhino User's Manual - Frame Grabbers

10.05.2014 Views

32 Trillium User’s Manual 3.11 Generating Test Patterns The camera can generate a variety of test patterns to aid in system debugging. Pattern Command Description 1 test_set_pattern 1 Black to white ramp • All channels (creates gray pattern) • Output levels ramp from 0 to 255 2 test_set_pattern 2 Black to white pyramid • 4 pixels per value for 1k cameras, 8 pixels per value for 2k cameras • All channels (creates gray pattern) • Output levels ramp from 0 to 255 back to 0 • 1 pixel per value • 2 cycles for 1k cameras, 4 for 2k cameras 3 test_set_pattern 3 Black to white “sawtooth” • All channels (creates gray pattern) 4 test_set_pattern 4 Color bars • Output levels ramp from 0 to 255 • 1 pixel per value 5 test_set_pattern 5 Color ramp • 2 cycles for 1k cameras, 4 for 2k cameras • Output levels toggle between 0 and 255 on each channel • 146 pixels wide for each color bar for 1k, 292 pixels wide for each color for 2k • Color sequence is red, green, blue, yellow, magenta, cyan, white. • Output levels toggle between 0 and 255 on each channel • 4 ramp sequences for 1k cameras, 8 ramps for 2k • Color sequence is red, green, blue, (repeat) Once initiated, test patterns continue until you turn them off. 03-32-10119-03 DALSA

Trillium User’s Manual 33 These commands control test patterns: Command test_set_pattern number test_start test_halt Action Selects the pattern Start the test pattern output Stop the test pattern output and return to normal operation 3.12 Returning Video Information through the Serial Port The camera’s microcontroller has the ability to read corrected or uncorrected video from the CCD sensor. This functionality can be used to verify camera operation and to perform basic testing without having to connect the camera to a frame grabber. This video information can be sampled through the serial port by issuing the following command: get_line channel, sample size Sample size indicates the number of lines to average (note that the camera returns only one line, but that line is the average of the sample size). This command will return the pixel values for one channel. Each value is represented as an integer from 0 to 255. Generating Statistics It is also possible to get some simple statistics from a line by issuing the command: get_line_statistics channel, sample size This command returns the maximum pixel value, minimum pixel value, and average for one line of video. If video correction is enabled, both commands will operate on corrected video. If the correction is disabled, the results returned are from raw image data. Determining Channel Noise To determine channel noise, issue the command: DALSA 03-32-10119-03

32 <strong>Trillium</strong> User’s <strong>Manual</strong><br />

3.11 Generating Test Patterns<br />

The camera can generate a variety of test patterns to aid in system debugging.<br />

Pattern Command Description<br />

1 test_set_pattern 1 Black to white ramp<br />

• All channels (creates gray pattern)<br />

• Output levels ramp from 0 to 255<br />

2 test_set_pattern 2 Black to white pyramid<br />

• 4 pixels per value for 1k cameras, 8 pixels<br />

per value for 2k cameras<br />

• All channels (creates gray pattern)<br />

• Output levels ramp from 0 to 255 back to 0<br />

• 1 pixel per value<br />

• 2 cycles for 1k cameras, 4 for 2k cameras<br />

3 test_set_pattern 3 Black to white “sawtooth”<br />

• All channels (creates gray pattern)<br />

4 test_set_pattern 4 Color bars<br />

• Output levels ramp from 0 to 255<br />

• 1 pixel per value<br />

5 test_set_pattern 5 Color ramp<br />

• 2 cycles for 1k cameras, 4 for 2k cameras<br />

• Output levels toggle between 0 and 255 on<br />

each channel<br />

• 146 pixels wide for each color bar for 1k,<br />

292 pixels wide for each color for 2k<br />

• Color sequence is red, green, blue, yellow,<br />

magenta, cyan, white.<br />

• Output levels toggle between 0 and 255 on<br />

each channel<br />

• 4 ramp sequences for 1k cameras, 8 ramps<br />

for 2k<br />

• Color sequence is red, green, blue, (repeat)<br />

Once initiated, test patterns continue until you turn them off.<br />

03-32-10119-03 DALSA

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!