IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
The brightness parameters apply to both automatic exposure and automatic gain.
Querying and setting the percentile value of the automatic brightness control.
genericC++
|
// Get BrightnessAutoPercentile minimum, maximum and increment
auto percentileMin = m_autoFeaturesManager.GetBrightnessAutoPercentileMin();
auto percentileMax = m_autoFeaturesManager.GetBrightnessAutoPercentileMax();
auto percentileInc = m_autoFeaturesManager.GetBrightnessAutoPercentileInc();
// Get BrightnessAutoPercentile
auto percentile = m_autoFeaturesManager.GetBrightnessAutoPercentile();
// Set BrightnessAutoPercentile
m_autoFeaturesManager.SetBrightnessAutoPercentile(percentile);
|
Querying and setting the target value of the automatic brightness control.
genericC++
|
// Get BrightnessAutoTarget minimum, maximum and increment
auto targetMin = m_autoFeaturesManager.GetBrightnessAutoTargetMin();
auto targetMax = m_autoFeaturesManager.GetBrightnessAutoTargetMax();
auto targetInc = m_autoFeaturesManager.GetBrightnessAutoTargetInc();
// Get BrightnessAutoTarget
auto target = m_autoFeaturesManager.GetBrightnessAutoTarget();
// Set BrightnessAutoTarget
m_autoFeaturesManager.SetBrightnessAutoTarget(target);
|
Querying and setting the tolerance value of the automatic brightness control.
genericC++
|
// Get BrightnessAutoTargetTolerance minimum, maximum and increment
auto targetToleranceMin = m_autoFeaturesManager.GetBrightnessAutoTargetToleranceMin();
auto targetToleranceMax = m_autoFeaturesManager.GetBrightnessAutoTargetToleranceMax();
auto targetToleranceInc = m_autoFeaturesManager.GetBrightnessAutoTargetToleranceInc();
// Get BrightnessAutoTargetTolerance
auto targetTolerance = m_autoFeaturesManager.GetBrightnessAutoTargetTolerance();
// Set BrightnessAutoTargetTolerance
m_autoFeaturesManager.SetBrightnessAutoTargetTolerance(targetTolerance);
|
Brightness parameters: querying and setting a ROI
The image region for brightness control can be queried or set as follows.
genericC++
|
size_t x;
size_t y;
size_t width;
size_t height;
m_autoFeaturesManager.GetBrightnessAutoRoi(x, y, width, height);
m_autoFeaturesManager.SetBrightnessAutoRoi(x, y, width, height);
|