EasyManua.ls Logo

Alkeria NECTA Series - Configuration Example; Pattern Generator

Default Icon
140 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8. Capturing Images 118
Example Code 8.39 | Save and restore calibration from camera memory
device.Calibration.Save(3); // Save calibration data into camera memory
device.Calibration.Load(3); // Load calibration data from camera memory
Example Code 8.40 | Erase calibration from camera memory
device.Calibration.Erase(2); // Erase calibration data from camera memory
Warning
Calibration is performed with camera controls set by the user. To avoid image
corruption due to FPN, is mandatory to save and reload calibration and user
conguration simultaneously as explained in Section 8.11.
8.12 CONFIGURATION EXAMPLE
Example Code 8.41 | Set camera’s main parameters and enable live acquisition
device.Camera = 0; // Connect to the first camera
device.ImageSizeY = 1024; // Set the height of the frame
device.VideoMode = 0;
device.ColorCoding = ColorCoding.Mono16; // Set the pixel format
device.LiveControl = form.LivePanel; // Target control for displaying imgs into
device.Acquire = true; // Start acquisition
8.13 PATTERN GENERATOR
NECTA cameras implement an internal xed pattern generator, which provides synthetic images and
allows you to check if the camera is correctly installed and working over the USB 3.2 Gen 1x1 connec-
tion. The pattern generator simulates the behavior of the camera implementing all the parameters con-
trolling the acquisition, except for those strictly dependent on the sensor (e.g. analog gain, CDS gain,
shutter, etc.).
While being related to the sensor, the ADC resolution has been emulated as well, as it has a large impact
on camera performance: it allows to evaluate the camera performance under real operating conditions.
Example Code 8.42 | Enable pattern generator
device.PatternGen.Enabled = true;

Table of Contents