EasyManua.ls Logo

Alkeria NECTA Series - Page 93

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 92
Figure 8.7: Monochrome Average-type vertical binning
Figure 8.8:
Monochrome Average-type combined binning
Example Code 8.6 | Average-Type horizontal binning conguration
if (device.BinningAvailable)
{
if (device.BinningModeAvailable)
// Set sum-type binning.
device.BinningMode = BinningMode.Sum;
// Get an array of available horizontal binning values.
byte[] horizontalBinnings = device.GetAvailableHorizontalBinnings();
// Check whether 2x horizontal binning value exists in the array or not.
if (Array.IndexOf(horizontalBinnings, 2) != -1)
device.HorizontalBinning = 2;
// Get an array of available vertical binning values.
byte[] verticalBinnings = device.GetAvailableVerticalBinnings();
// Check whether 2x vertical binning value exists in the array or not.
if (Array.IndexOf(verticalBinnings, 2) != -1)
device.VerticalBinning = 2;
}
Note
The BinningAvailable property allows to check if the camera supports bin-
ning modes. Vertical binning mode is available for two-lines monochrome sen-
sors only.

Table of Contents