![]() |
IDS peak AFL v2.0.1
|
Target brightness value configuration for automatic adjustment. More...
Functions | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_AutoTarget_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| Check if auto target is supported for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_AutoTarget_Set (peak_afl_controller_handle controller, uint32_t target) |
| Set the auto target for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_AutoTarget_Get (peak_afl_controller_handle controller, uint32_t *target) |
| Get the currently set auto target for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_AutoTarget_GetRange (peak_afl_controller_handle controller, uint32_t *min, uint32_t *max, uint32_t *inc) |
| Get the auto target range for a controller. | |
Target brightness value configuration for automatic adjustment.
Sets the target value for auto brightness control. The percentage of pixels, that must be brighter than the target value, is defined in target Percentile. The value of target value does not relate to the pixel format for the process image and can be specified in the range from 0 to 255.
| PEAK_AFL_API_STATUS peak_afl_AutoController_AutoTarget_Get | ( | peak_afl_controller_handle | controller, |
| uint32_t * | target ) |
Get the currently set auto target for a controller.
Retrieves the target value that the controller is currently configured to achieve. This is the same value that was previously set using peak_afl_AutoController_AutoTarget_Set. The target represents the desired output level (e.g., brightness, white balance point) that the automatic adjustment algorithm will attempt to maintain.
| [in] | controller | controller handle |
| [out] | target | auto target value |
| PEAK_AFL_API_STATUS peak_afl_AutoController_AutoTarget_GetRange | ( | peak_afl_controller_handle | controller, |
| uint32_t * | min, | ||
| uint32_t * | max, | ||
| uint32_t * | inc ) |
Get the auto target range for a controller.
Retrieves the valid range of target values that can be configured for this controller. This function provides the minimum and maximum allowable target values, as well as the increment step size. The range depends on the controller type and the underlying hardware capabilities.
Call this function before setting a target value to ensure the desired value is within the supported range. Use peak_afl_AutoController_AutoTarget_Set to actually configure the target value.
| [in] | controller | controller handle |
| [out] | min | auto target minimum value |
| [out] | max | auto target maximum value |
| [out] | inc | auto target increment value |
| PEAK_AFL_API_STATUS peak_afl_AutoController_AutoTarget_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported ) |
Check if auto target is supported for a controller.
If supported is PEAK_AFL_TRUE auto target is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller supports auto target |
| PEAK_AFL_API_STATUS peak_afl_AutoController_AutoTarget_Set | ( | peak_afl_controller_handle | controller, |
| uint32_t | target ) |
Set the auto target for a controller.
Set an auto target value that the controller will attempt to achieve. Call peak_afl_AutoController_AutoTarget_GetRange to get the valid range. This is the target value which will be aimed for by the controller during automatic adjustment operations.
| [in] | controller | controller handle |
| [in] | target | auto target value |