![]() |
IDS peak AFL v2.0.1
|
Configurable parameters and algorithms for automatic camera control within the pipeline framework. More...
Data Structures | |
| class | AutoPercentile |
| Auto percentile feature implementation for auto controllers. More... | |
| class | AutoTarget |
| Auto target feature implementation for auto controllers. More... | |
| class | AutoTolerance |
| Auto tolerance feature implementation for auto controllers. More... | |
| class | BrightnessAlgorithm |
| Brightness algorithm feature implementation for auto controllers. More... | |
| class | BrightnessComponent |
| Brightness component feature implementation for auto controllers. More... | |
| class | BrightnessLimit |
| Base class for brightness limit features. More... | |
| class | BrightnessExposureLimit |
| Exposure limit feature implementation for brightness controllers. More... | |
| class | BrightnessGainLimit |
| Gain limit feature implementation for brightness controllers. More... | |
| class | BrightnessGainAnalogLimit |
| Analog gain limit feature implementation for brightness controllers. More... | |
| class | BrightnessGainDigitalLimit |
| Digital gain limit feature implementation for brightness controllers. More... | |
| class | BrightnessGainCombinedLimit |
| Combined gain limit feature implementation for brightness controllers. More... | |
| class | BrightnessGainHostLimit |
| Host gain limit feature implementation for brightness controllers. More... | |
| class | FocusLimit |
| Focus limit feature implementation for auto focus controllers. More... | |
| class | Hysteresis |
| Hysteresis feature implementation for auto controllers. More... | |
| class | IFeature< T > |
| Base interface for auto feature implementations. More... | |
| class | IRangeFeature< T > |
| Interface for features that have a valid range of values. More... | |
| class | IListFeature< T > |
| Interface for features that have a list of valid values. More... | |
| class | Roi |
| Region of Interest (ROI) feature implementation for auto controllers. More... | |
| class | SearchAlgorithm |
| Search algorithm feature implementation for auto focus controllers. More... | |
| class | SharpnessAlgorithm |
| Sharpness algorithm feature implementation for auto focus controllers. More... | |
| class | SkipFrames |
| Skip frames feature implementation for auto controllers. More... | |
| struct | WeightedROI |
| Weighted region of interest structure. More... | |
| class | WeightedRois |
| Weighted regions of interest feature implementation for auto controllers. More... | |
Enumerations | |
| enum class | BrightnessAnalysisAlgorithm { Median , Mean } |
| Brightness analysis algorithm enumeration. More... | |
| enum class | BrightnessComponentType { Invalid , Exposure , AnalogGain , DigitalGain , CombinedGain , HostGain , Gain } |
| Brightness component type enumeration. More... | |
| enum class | FocusSearchAlgorithm { Auto , GoldenRatio , HillClimbing , GlobalSearch , FullScan } |
| Focus search algorithm enumeration. More... | |
| enum class | FocusSharpnessAlgorithm { Auto , Tenengrad , Sobel , MeanScore , HistogramVariance } |
| Focus sharpness algorithm enumeration. More... | |
| enum class | Weight { Weak , Medium , Strong } |
| Weight enumeration for weighted regions of interest. More... | |
| enum class | RoiPreset { Center } |
| Preset enumeration for the Region of interest. More... | |
| enum class | AutoBrightnessPolicy { ExposureAndGain , ExposureOnly , GainOnly } |
| Auto brightness control policy enumeration. More... | |
Functions | |
| std::string | ToString (BrightnessAnalysisAlgorithm algorithm) |
| Converts BrightnessAnalysisAlgorithm enumeration to string representation. | |
| std::ostream & | operator<< (std::ostream &os, BrightnessAnalysisAlgorithm algorithm) |
| Stream insertion operator for BrightnessAnalysisAlgorithm enumeration. | |
| std::string | ToString (BrightnessComponentType type) |
| Converts BrightnessComponentType enumeration to string representation. | |
| std::ostream & | operator<< (std::ostream &os, BrightnessComponentType type) |
| Stream insertion operator for BrightnessComponentType enumeration. | |
| std::string | ToString (FocusSearchAlgorithm algorithm) |
| Converts FocusSearchAlgorithm enumeration to string representation. | |
| std::ostream & | operator<< (std::ostream &os, FocusSearchAlgorithm algorithm) |
| Stream insertion operator for FocusSearchAlgorithm enumeration. | |
| std::string | ToString (FocusSharpnessAlgorithm algorithm) |
| Converts FocusSharpnessAlgorithm enumeration to string representation. | |
| std::ostream & | operator<< (std::ostream &os, FocusSharpnessAlgorithm algorithm) |
| Stream insertion operator for FocusSharpnessAlgorithm enumeration. | |
| std::string | ToString (Weight weight) |
| Converts Weight enumeration to string representation. | |
| std::ostream & | operator<< (std::ostream &os, Weight weight) |
| Stream insertion operator for Weight enumeration. | |
| std::string | ToString (AutoBrightnessPolicy policy) |
| Converts AutoBrightnessPolicy enumeration to string representation. | |
Configurable parameters and algorithms for automatic camera control within the pipeline framework.
The Pipeline Features provide configurable parameters and algorithms for automatic camera control within the pipeline framework. These features are building blocks used by pipeline controllers to implement sophisticated automatic control functionality.
The pipeline features are organized into several categories:
The base interface for all pipeline features providing common functionality:
Specialized interface for features with enumerated values:
Specialized interface for features with numeric ranges:
Configures the desired brightness level for automatic adjustment:
Defines acceptable deviation from target brightness:
Selects the algorithm for brightness analysis:
Configures the focus search strategy:
Configures the sharpness measurement method:
Configures multiple regions for focus evaluation:
Sets the allowable focus position range:
Prevents focus hunting and oscillation:
Defines the analysis area for white balance and other operations:
Optimizes performance by processing every Nth frame:
All features support serialization for configuration persistence:
Features automatically validate parameters against device capabilities:
Available brightness analysis methods:
Available focus search strategies:
Available sharpness measurement methods:
|
strong |
Auto brightness control policy enumeration.
Defines the different strategies for automatic brightness control, determining which camera parameters the controller is allowed to adjust to achieve the target brightness level.
|
strong |
Brightness analysis algorithm enumeration.
Defines the available algorithms for analyzing brightness in automatic exposure and brightness control systems. Each algorithm provides a different method for calculating the representative brightness value from the image data.
| Enumerator | |
|---|---|
| Median | Median-based brightness calculation - uses the median value of pixel intensities. |
| Mean | Mean-based brightness calculation - uses the average value of pixel intensities. |
|
strong |
Brightness component type enumeration.
Defines the different types of brightness components that can be controlled in automatic exposure systems. Each component represents a different aspect of image brightness control with specific characteristics and limitations.
|
strong |
Focus search algorithm enumeration.
Defines the available algorithms for automatic focus search operations. Each algorithm provides different characteristics in terms of speed, accuracy, and robustness for various focusing scenarios.
| Enumerator | |
|---|---|
| Auto | Automatic algorithm selection - default algorithm.
|
| GoldenRatio | Golden ratio search - efficient for unimodal focus curves. |
| HillClimbing | Hill climbing search - good for local optimization. |
| GlobalSearch | Global search - comprehensive but slower search. |
| FullScan | Full scan - scans entire focus range for maximum accuracy. |
|
strong |
Focus sharpness algorithm enumeration.
Defines the available algorithms for measuring image sharpness in automatic focus systems. Each algorithm provides different characteristics for detecting the optimal focus position based on image analysis.
| Enumerator | |
|---|---|
| Auto | Automatic algorithm selection - controller chooses the best algorithm.
|
| Tenengrad | Tenengrad algorithm - gradient-based sharpness measurement. |
| Sobel | Sobel algorithm - edge detection based sharpness measurement. |
| MeanScore | Mean score algorithm - statistical sharpness measurement. |
| HistogramVariance | Histogram variance algorithm - variance-based sharpness measurement. |
|
strong |
|
strong |
Weight enumeration for weighted regions of interest.
Defines the importance levels that can be assigned to regions of interest in automatic control algorithms. Different weights influence how much priority the algorithms give to each region.
| Enumerator | |
|---|---|
| Weak | Low importance - minimal influence on auto algorithms. |
| Medium | Normal importance - standard influence on auto algorithms. |
| Strong | High importance - strong influence on auto algorithms. |
|
inline |
Stream insertion operator for BrightnessAnalysisAlgorithm enumeration.
Enables direct output of BrightnessAnalysisAlgorithm values to output streams using their string representation.
| [in,out] | os | The output stream to write to |
| [in] | algorithm | The BrightnessAnalysisAlgorithm value to output |
|
inline |
Stream insertion operator for BrightnessComponentType enumeration.
Enables direct output of BrightnessComponentType values to output streams using their string representation.
| [in,out] | os | The output stream to write to |
| [in] | type | The BrightnessComponentType value to output |
|
inline |
Stream insertion operator for FocusSearchAlgorithm enumeration.
Enables direct output of FocusSearchAlgorithm values to output streams using their string representation.
| [in,out] | os | The output stream to write to |
| [in] | algorithm | The FocusSearchAlgorithm value to output |
|
inline |
Stream insertion operator for FocusSharpnessAlgorithm enumeration.
Enables direct output of FocusSharpnessAlgorithm values to output streams using their string representation.
| [in,out] | os | The output stream to write to |
| [in] | algorithm | The FocusSharpnessAlgorithm value to output |
|
inline |
Stream insertion operator for Weight enumeration.
Enables direct output of Weight values to output streams using their string representation.
| [in,out] | os | The output stream to write to |
| [in] | weight | The Weight value to output |
|
inline |
Converts AutoBrightnessPolicy enumeration to string representation.
| [in] | policy | The auto brightness policy to convert |
| peak::afl::error::InvalidParameterException | if policy is unknown |
|
inline |
Converts BrightnessAnalysisAlgorithm enumeration to string representation.
| [in] | algorithm | The brightness analysis algorithm to convert |
| peak::afl::error::InvalidParameterException | if algorithm is unknown |
|
inline |
Converts BrightnessComponentType enumeration to string representation.
| [in] | type | The brightness component type to convert |
| peak::afl::error::InternalErrorException | if type is invalid |
|
inline |
Converts FocusSearchAlgorithm enumeration to string representation.
| [in] | algorithm | The focus search algorithm to convert |
| peak::afl::error::InvalidParameterException | if algorithm is unknown |
|
inline |
Converts FocusSharpnessAlgorithm enumeration to string representation.
| [in] | algorithm | The focus sharpness algorithm to convert |
| peak::afl::error::InvalidParameterException | if algorithm is unknown |
|
inline |
Converts Weight enumeration to string representation.
| [in] | weight | The weight value to convert |
| peak::afl::error::InternalErrorException | if weight is invalid |