EasyManua.ls Logo

Alkeria NECTA Series - Average-Type Binning

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 91
Example Code 8.4 | Sum-Type combined binning conguration
if (device.BinningAvailable && device.BinningModeAvailable)
{
if (device.GetAvailableBinningModes().Contains(BinningMode.Sum))
{
// 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;
}
}
Example Code 8.5 |
Binning disabling procedure
if (device.BinningAvailable)
{
device.HorizontalBinning = 1;
device.VerticalBinning = 1;
}
8.4.2 Average-type binning
When using average-type binning, NECTA computes the average value of the data acquired from 2 (or
4) adjacent pixels, thereby reducing the noise due to the acquisition conditions.
Figure 8.6: Monochrome Average-type horizontal binning

Table of Contents