10.05.2014 Views

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

These commands control test patterns:<br />

Command<br />

test_set_pattern number<br />

test_start<br />

test_halt<br />

Action<br />

Selects the pattern<br />

Start the test pattern output<br />

Stop the test pattern output and return to normal<br />

operation<br />

3.12 Returning Video Information through the<br />

Serial Port<br />

The camera’s microcontroller has the ability to read corrected or uncorrected<br />

video from the CCD sensor. This functionality can be used to verify camera<br />

operation and to perform basic testing without having to connect the camera to a<br />

frame grabber.<br />

This video information can be sampled through the serial port by issuing the<br />

following command:<br />

get_line channel, sample size<br />

Sample size indicates the number of lines to average (note that the camera<br />

returns only one line, but that line is the average of the sample size). This<br />

command will return the pixel values for one channel. Each value is represented<br />

as an integer from 0 to 255.<br />

Generating Statistics<br />

It is also possible to get some simple statistics from a line by issuing the<br />

command:<br />

get_line_statistics channel, sample size<br />

This command returns the maximum pixel value, minimum pixel value, and<br />

average for one line of video.<br />

If video correction is enabled, both commands will operate on corrected video. If<br />

the correction is disabled, the results returned are from raw image data.<br />

Determining Channel Noise<br />

To determine channel noise, issue the command:<br />

DALSA 03-32-10119-03

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

Saved successfully!

Ooh no, something went wrong!