![]() |
IDS peak AFL v1.6.0
|
Functions | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Create (peak_afl_controller_handle *controller, peak_afl_controllerType controllerType) |
| Create a new controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Destroy (peak_afl_controller_handle controller) |
| Destroy a controller. Will fail if it is queued inside a manager. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_SkipFrames_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| Check if skip frames is supported for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_SkipFrames_Set (peak_afl_controller_handle controller, uint32_t count) |
| Set number of frames skipped for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_SkipFrames_Get (peak_afl_controller_handle controller, uint32_t *count) |
| Get number of frames skipped for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_SkipFrames_GetRange (peak_afl_controller_handle controller, uint32_t *min, uint32_t *max, uint32_t *inc) |
| Get range for frames skipped for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_ROI_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| Check if setting a region of interest is supported for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_ROI_Set (peak_afl_controller_handle controller, peak_afl_rectangle roi) |
| Set the autofeature region of interest for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_ROI_Get (peak_afl_controller_handle controller, peak_afl_rectangle *roi) |
| Get the autofeature region of interest for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_ROI_Preset_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| Check if ROI preset is supported for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_ROI_Preset_Set (peak_afl_controller_handle controller, peak_afl_roi_preset roiPreset) |
| Set the autofeature region of interest preset for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Mode_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| Check if auto mode is supported for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Mode_Set (peak_afl_controller_handle controller, peak_afl_controller_automode mode) |
| Set the autofeature mode for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Mode_Get (peak_afl_controller_handle controller, peak_afl_controller_automode *mode) |
| Get the current autofeature mode for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_BrightnessAlgorithm_Set (peak_afl_controller_handle controller, peak_afl_controller_brightness_algorithm algorithm) |
| Set the brightness algorithm for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_BrightnessAlgorithm_Get (peak_afl_controller_handle controller, peak_afl_controller_brightness_algorithm *algorithm) |
| Get the current brightness algorithm for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_BrightnessAlgorithm_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| Check if brightness algorithm is supported for a controller component. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_BrightnessComponent_Mode_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| Check if brightness component mode is supported for a controller component. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_BrightnessComponent_Unit_IsSupported (peak_afl_controller_handle controller, peak_afl_controller_brightness_component unit, peak_afl_BOOL8 *supported) |
| Check if a specific unit is supported for a brightness controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_BrightnessComponent_Mode_Set (peak_afl_controller_handle controller, peak_afl_controller_brightness_component component, peak_afl_controller_automode mode) |
| Set the autofeature mode for a brightness component. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_BrightnessComponent_Mode_Get (peak_afl_controller_handle controller, peak_afl_controller_brightness_component component, peak_afl_controller_automode *mode) |
| Get the current brightness component mode for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_BrightnessComponent_Status (peak_afl_controller_handle controller, peak_afl_controller_brightness_component component, peak_afl_controller_status *status) |
| Get the status for a controller component. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_BrightnessComponent_Callback_Set (peak_afl_controller_handle controller, peak_afl_controller_brightness_component component, peak_afl_callback_type type, void *funcPtr, void *context) |
| Set a callback for a controller component. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_ExposureLimit_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| Check if exposure limit is supported for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_ExposureLimit_Set (peak_afl_controller_handle controller, peak_afl_double_limit limit) |
| Set autofeature exposure limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_ExposureLimit_Get (peak_afl_controller_handle controller, peak_afl_double_limit *limit) |
| Get autofeature exposure limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Status (peak_afl_controller_handle controller, peak_afl_controller_status *status) |
| Get the status for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GetLastAutoAverage (peak_afl_controller_handle controller, uint8_t *average) |
| Get the last auto average for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GetLastAutoAverages (peak_afl_controller_handle controller, uint8_t *averageRed, uint8_t *averageGreen, uint8_t *averageBlue) |
| Get the last auto average for a controller. | |
| 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. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_AutoTolerance_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| check if auto tolerance is supported for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_AutoTolerance_Set (peak_afl_controller_handle controller, uint32_t tolerance) |
| Set the auto tolerance for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_AutoTolerance_Get (peak_afl_controller_handle controller, uint32_t *tolerance) |
| Get the current auto tolerance for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_AutoTolerance_GetRange (peak_afl_controller_handle controller, uint32_t *min, uint32_t *max, uint32_t *inc) |
| Get the auto tolerance range for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_AutoPercentile_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| check if auto percentile is supported for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_AutoPercentile_Set (peak_afl_controller_handle controller, double percentile) |
| Set the auto percentile for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_AutoPercentile_Get (peak_afl_controller_handle controller, double *percentile) |
| Get the auto percentile for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_AutoPercentile_GetRange (peak_afl_controller_handle controller, double *min, double *max, double *inc) |
| Get the auto percentile range for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Type_Get (peak_afl_controller_handle controller, peak_afl_controllerType *type) |
| Get the controller type. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Algorithm_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| check if setting an algorithm is supported for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Algorithm_Set (peak_afl_controller_handle controller, peak_afl_controller_algorithm algorithm) |
| Set the used algorithm for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Algorithm_Get (peak_afl_controller_handle controller, peak_afl_controller_algorithm *algorithm) |
| Get the used algorithm for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Algorithm_GetList (peak_afl_controller_handle controller, peak_afl_controller_algorithm *typeList, uint32_t *listSize) |
| Get the list of supported algorithms for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_SharpnessAlgorithm_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| check setting a sharpness algorithm is supported by a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_SharpnessAlgorithm_Set (peak_afl_controller_handle controller, peak_afl_controller_sharpness_algorithm algorithm) |
| Set the used sharpness algorithm for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_SharpnessAlgorithm_Get (peak_afl_controller_handle controller, peak_afl_controller_sharpness_algorithm *algorithm) |
| Get the used sharpness algorithm for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_SharpnessAlgorithm_GetList (peak_afl_controller_handle controller, peak_afl_controller_sharpness_algorithm *typeList, uint32_t *listSize) |
| Get the list of supported sharpness algorithms for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Callback_Set (peak_afl_controller_handle controller, peak_afl_callback_type type, void *funcPtr, void *context) |
| Set a callback for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Weighted_ROI_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| Check if weighted region of interest is supported for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Weighted_ROI_Min_Size (peak_afl_controller_handle controller, peak_afl_size *size) |
| Get the autofeature minimum size for the weighted region of interest for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Weighted_ROI_Set (peak_afl_controller_handle controller, const peak_afl_weighted_rectangle *weightedRoiList, uint32_t listSize) |
| Set the autofeature weighted region of interest for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Weighted_ROI_Get (peak_afl_controller_handle controller, peak_afl_weighted_rectangle *weightedRoiList, uint32_t *listSize) |
| Get the autofeature weighted region of interest for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Limit_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| Check if limit is supported for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Limit_Default (peak_afl_controller_handle controller, peak_afl_controller_limit *limit) |
| Get the autofeature default limit. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Limit_Set (peak_afl_controller_handle controller, peak_afl_controller_limit limit) |
| Set the autofeature limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Limit_Get (peak_afl_controller_handle controller, peak_afl_controller_limit *limit) |
| Get the autofeature limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Hysteresis_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| Check if hysteresis is supported for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Hysteresis_Default (peak_afl_controller_handle controller, uint8_t *hysteresis) |
| Get the autofeature hysteresis default. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Hysteresis_Set (peak_afl_controller_handle controller, uint8_t hysteresis) |
| Set the autofeature hysteresis for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Hysteresis_Get (peak_afl_controller_handle controller, uint8_t *hysteresis) |
| Get the autofeature hysteresis for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_Hysteresis_GetRange (peak_afl_controller_handle controller, uint8_t *min, uint8_t *max, uint8_t *inc) |
| Get autofeature hysteresis range for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainLimit_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| Check if gain limit is supported for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainLimit_Set (peak_afl_controller_handle controller, peak_afl_double_limit limit) |
| Set autofeature gain limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainLimit_Get (peak_afl_controller_handle controller, peak_afl_double_limit *limit) |
| Get autofeature gain limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainLimit_GetRange (peak_afl_controller_handle controller, peak_afl_double_limit *limit) |
| Get autofeature gain limit range for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainAnalogLimit_Set (peak_afl_controller_handle controller, peak_afl_double_limit limit) |
| Set autofeature analog gain limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainAnalogLimit_Get (peak_afl_controller_handle controller, peak_afl_double_limit *limit) |
| Get autofeature analog gain limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainAnalogLimit_GetRange (peak_afl_controller_handle controller, peak_afl_double_limit *limit) |
| Get autofeature analog gain limit range for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainDigitalLimit_Set (peak_afl_controller_handle controller, peak_afl_double_limit limit) |
| Set autofeature digital gain limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainDigitalLimit_Get (peak_afl_controller_handle controller, peak_afl_double_limit *limit) |
| Get autofeature digital gain limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainDigitalLimit_GetRange (peak_afl_controller_handle controller, peak_afl_double_limit *limit) |
| Get autofeature digital gain limit range for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainCombinedLimit_Set (peak_afl_controller_handle controller, peak_afl_double_limit limit) |
| Set autofeature combined gain limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainCombinedLimit_Get (peak_afl_controller_handle controller, peak_afl_double_limit *limit) |
| Get autofeature combined gain limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainCombinedLimit_GetRange (peak_afl_controller_handle controller, peak_afl_double_limit *limit) |
| Get autofeature combined gain limit range for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainHostLimit_Set (peak_afl_controller_handle controller, peak_afl_double_limit limit) |
| Set autofeature host gain limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainHostLimit_Get (peak_afl_controller_handle controller, peak_afl_double_limit *limit) |
| Get autofeature host gain limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainHostLimit_GetRange (peak_afl_controller_handle controller, peak_afl_double_limit *limit) |
| Get autofeature host gain limit range for a controller. | |
Definitions on AutoController and values.
controller algorithm
controller brightness component
controller sharpness algorithm (focus)
controller status
| enum peak_afl_roi_preset |
| enum peak_afl_roi_weight |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Algorithm_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_algorithm * | algorithm | ||
| ) |
Get the used algorithm for a controller.
| [in] | controller | controller handle |
| [out] | algorithm | auto controller algorithm |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Algorithm_GetList | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_algorithm * | typeList, | ||
| uint32_t * | listSize | ||
| ) |
Get the list of supported algorithms for a controller.
Uses the Two Staged Data Query principle. To set a value, see peak_afl_AutoController_Algorithm_Set.
| [in] | controller | controller handle |
| [out] | typeList | Pointer to a user allocated list of peak_afl_controller_algorithm. If this parameter is NULL, listSize will contain the needed count of typeList. |
| [in,out] | listSize |
|
| PEAK_AFL_API_STATUS peak_afl_AutoController_Algorithm_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
check if setting an algorithm is supported for a controller.
If supported is PEAK_AFL_TRUE algorithm is supported, otherwise it is unsupported.
Call peak_afl_AutoController_Algorithm_GetList to get a list of supported algorithms.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller supports setting an algorithm |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Algorithm_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_algorithm | algorithm | ||
| ) |
Set the used algorithm for a controller.
To get a list of supported algorithms, see peak_afl_AutoController_Algorithm_GetList.
| [in] | controller | controller handle |
| [in] | algorithm | auto controller algorithm |
| PEAK_AFL_API_STATUS peak_afl_AutoController_AutoPercentile_Get | ( | peak_afl_controller_handle | controller, |
| double * | percentile | ||
| ) |
Get the auto percentile for a controller.
| [in] | controller | controller handle |
| [out] | percentile | auto percentile value |
| PEAK_AFL_API_STATUS peak_afl_AutoController_AutoPercentile_GetRange | ( | peak_afl_controller_handle | controller, |
| double * | min, | ||
| double * | max, | ||
| double * | inc | ||
| ) |
Get the auto percentile range for a controller.
Call this function to get the range of valid values which can be set by a call to peak_afl_AutoController_AutoPercentile_Set.
| [in] | controller | controller handle |
| [out] | min | auto percentile minimum value |
| [out] | max | auto percentile maximum value |
| [out] | inc | auto percentile increment value |
| PEAK_AFL_API_STATUS peak_afl_AutoController_AutoPercentile_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
check if auto percentile is supported for a controller.
If supported is PEAK_AFL_TRUE auto percentile is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller supports auto percentile |
| PEAK_AFL_API_STATUS peak_afl_AutoController_AutoPercentile_Set | ( | peak_afl_controller_handle | controller, |
| double | percentile | ||
| ) |
Set the auto percentile for a controller.
This is the used percentile value for a controller. To get the valid range, call peak_afl_AutoController_AutoPercentile_GetRange.
| [in] | controller | controller handle |
| [in] | percentile | auto percentile value |
| 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.
| [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.
Call this function to get the range of valid values which can be set by a call to peak_afl_AutoController_AutoTarget_Set.
| [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. Call peak_afl_AutoController_AutoTarget_GetRange to get the valid range. End value which will be targeted by the controller.
| [in] | controller | controller handle |
| [in] | target | auto target value |
| PEAK_AFL_API_STATUS peak_afl_AutoController_AutoTolerance_Get | ( | peak_afl_controller_handle | controller, |
| uint32_t * | tolerance | ||
| ) |
Get the current auto tolerance for a controller.
| [in] | controller | controller handle |
| [out] | tolerance | auto tolerance value |
| PEAK_AFL_API_STATUS peak_afl_AutoController_AutoTolerance_GetRange | ( | peak_afl_controller_handle | controller, |
| uint32_t * | min, | ||
| uint32_t * | max, | ||
| uint32_t * | inc | ||
| ) |
Get the auto tolerance range for a controller.
Call this function to get the range of valid values which can be set by a call to peak_afl_AutoController_AutoTolerance_Set.
| [in] | controller | controller handle |
| [out] | min | auto tolerance minimum value |
| [out] | max | auto tolerance maximum value |
| [out] | inc | auto tolerance increment value |
| PEAK_AFL_API_STATUS peak_afl_AutoController_AutoTolerance_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
check if auto tolerance is supported for a controller.
If supported is PEAK_AFL_TRUE auto tolerance is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller supports auto tolerance |
| PEAK_AFL_API_STATUS peak_afl_AutoController_AutoTolerance_Set | ( | peak_afl_controller_handle | controller, |
| uint32_t | tolerance | ||
| ) |
Set the auto tolerance for a controller.
Sets the +/- tolerance for the auto target value.
| [in] | controller | controller handle |
| [in] | tolerance | auto target value |
| PEAK_AFL_API_STATUS peak_afl_AutoController_BrightnessAlgorithm_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_brightness_algorithm * | algorithm | ||
| ) |
Get the current brightness algorithm for a controller.
| [in] | controller | controller handle |
| [out] | algorithm | brightness algorithm |
| PEAK_AFL_API_STATUS peak_afl_AutoController_BrightnessAlgorithm_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
Check if brightness algorithm is supported for a controller component.
If supported is PEAK_AFL_TRUE brightness algorithm is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller component supports brightness algorithm |
| PEAK_AFL_API_STATUS peak_afl_AutoController_BrightnessAlgorithm_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_brightness_algorithm | algorithm | ||
| ) |
Set the brightness algorithm for a controller.
Will set the controller brightness algorithm to algorithm. See peak_afl_controller_brightness_algorithm for a list of valid values.
| [in] | controller | controller handle |
| [in] | algorithm | autofeature brightness algorithm |
| PEAK_AFL_API_STATUS peak_afl_AutoController_BrightnessComponent_Callback_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_brightness_component | component, | ||
| peak_afl_callback_type | type, | ||
| void * | funcPtr, | ||
| void * | context | ||
| ) |
Set a callback for a controller component.
Set funcPtr to NULL to disable the callback. Set funcPtr to !NULL to enable the callback.
The callback set by funcPtr will be called with context as its last parameter.
For a list of valid types see peak_afl_callback_type.
| [in] | controller | controller handle |
| [out] | component | brightness component |
| [in] | type | callback type |
| [in] | funcPtr | function pointer |
| [in] | context | pointer |
| PEAK_AFL_API_STATUS peak_afl_AutoController_BrightnessComponent_Mode_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_brightness_component | component, | ||
| peak_afl_controller_automode * | mode | ||
| ) |
Get the current brightness component mode for a controller.
| [in] | controller | controller handle |
| [out] | component | brightness component |
| [out] | mode | autofeature mode |
| PEAK_AFL_API_STATUS peak_afl_AutoController_BrightnessComponent_Mode_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
Check if brightness component mode is supported for a controller component.
If supported is PEAK_AFL_TRUE auto mode is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller component supports auto mode |
| PEAK_AFL_API_STATUS peak_afl_AutoController_BrightnessComponent_Mode_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_brightness_component | component, | ||
| peak_afl_controller_automode | mode | ||
| ) |
Set the autofeature mode for a brightness component.
Will set the controller component to component. See peak_afl_controller_brightness_component for a list of valid values.
| [in] | controller | controller handle |
| [in] | component | brightness component |
| [in] | mode | autofeature mode |
| PEAK_AFL_API_STATUS peak_afl_AutoController_BrightnessComponent_Status | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_brightness_component | component, | ||
| peak_afl_controller_status * | status | ||
| ) |
Get the status for a controller component.
See peak_afl_controller_status for a list of values.
| [in] | controller | controller handle |
| [out] | component | brightness component |
| [out] | status | controller status |
| PEAK_AFL_API_STATUS peak_afl_AutoController_BrightnessComponent_Unit_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_brightness_component | unit, | ||
| peak_afl_BOOL8 * | supported | ||
| ) |
Check if a specific unit is supported for a brightness controller.
If supported is PEAK_AFL_TRUE if unit is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [in] | unit | brightness controller unit |
| [out] | supported | boolean if controller component supports auto mode |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Callback_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_callback_type | type, | ||
| void * | funcPtr, | ||
| void * | context | ||
| ) |
Set a callback for a controller.
Set funcPtr to NULL to disable the callback. Set funcPtr to !NULL to enable the callback.
The callback set by funcPtr will be called with context as its last parameter.
For a list of valid types see peak_afl_callback_type.
| [in] | controller | controller handle |
| [in] | type | callback type |
| [in] | funcPtr | function pointer |
| [in] | context | pointer |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Create | ( | peak_afl_controller_handle * | controller, |
| peak_afl_controllerType | controllerType | ||
| ) |
Create a new controller.
| [out] | controller | controller handle |
| [in] | controllerType | controller type |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Destroy | ( | peak_afl_controller_handle | controller | ) |
Destroy a controller. Will fail if it is queued inside a manager.
| [in] | controller | controller handle |
| PEAK_AFL_API_STATUS peak_afl_AutoController_ExposureLimit_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit * | limit | ||
| ) |
Get autofeature exposure limit for a controller.
| [in] | controller | controller handle |
| [out] | limit | the current exposure limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_ExposureLimit_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
Check if exposure limit is supported for a controller.
If supported is PEAK_AFL_TRUE exposure limit is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [out] | supported | true if auto exposure limit is supported, otherwise returns false. |
| PEAK_AFL_API_STATUS peak_afl_AutoController_ExposureLimit_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit | limit | ||
| ) |
Set autofeature exposure limit for a controller.
| [in] | controller | controller handle |
| [in] | limit | Limits the controller to adjust the exposure to the supplied range between min and max of limit. |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainAnalogLimit_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit * | limit | ||
| ) |
Get autofeature analog gain limit for a controller.
| [in] | controller | controller handle |
| [out] | limit | the current analog gain limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainAnalogLimit_GetRange | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit * | limit | ||
| ) |
Get autofeature analog gain limit range for a controller.
| [in] | controller | controller handle |
| [out] | limit | the possible range for analog gain limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainAnalogLimit_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit | limit | ||
| ) |
Set autofeature analog gain limit for a controller.
The valid values are dependent on the analog gain node and can be between minimum and maximum. Default is the complete range.
If any value of the limit is out of range, the value is clamped to be valid. In this case, the function returns with PEAK_AFL_STATUS_VALUE_ADJUSTED. It is recommended to check the current values by calling peak_afl_AutoController_GainAnalogLimit_Set after this call.
| [in] | controller | controller handle |
| [in] | limit | Limits the controller to adjust the analog gain to the supplied range between min and max of limit. |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainCombinedLimit_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit * | limit | ||
| ) |
Get autofeature combined gain limit for a controller.
| [in] | controller | controller handle |
| [out] | limit | the current combined gain limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainCombinedLimit_GetRange | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit * | limit | ||
| ) |
Get autofeature combined gain limit range for a controller.
| [in] | controller | controller handle |
| [out] | limit | the possible range for combined gain limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainCombinedLimit_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit | limit | ||
| ) |
Set autofeature combined gain limit for a controller.
The valid values are dependent on the used gain node and can be between minimum and maximum. Default is the complete range.
If any value of the limit is out of range, the value is clamped to be valid. In this case, the function returns with PEAK_AFL_STATUS_VALUE_ADJUSTED. It is recommended to check the current values by calling peak_afl_AutoController_GainCombinedLimit_Set after this call.
| [in] | controller | controller handle |
| [in] | limit | Limits the controller to adjust the combined gain to the supplied range between min and max of limit. |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainDigitalLimit_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit * | limit | ||
| ) |
Get autofeature digital gain limit for a controller.
| [in] | controller | controller handle |
| [out] | limit | the current digital gain limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainDigitalLimit_GetRange | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit * | limit | ||
| ) |
Get autofeature digital gain limit range for a controller.
| [in] | controller | controller handle |
| [out] | limit | the possible range for digital gain limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainDigitalLimit_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit | limit | ||
| ) |
Set autofeature digital gain limit for a controller.
The valid values are dependent on the used gain node and can be between minimum and maximum. Default is the complete range.
If any value of the limit is out of range, the value is clamped to be valid. In this case, the function returns with PEAK_AFL_STATUS_VALUE_ADJUSTED. It is recommended to check the current values by calling peak_afl_AutoController_GainDigitalLimit_Set after this call.
| [in] | controller | controller handle |
| [in] | limit | Limits the controller to adjust the digital gain to the supplied range between min and max of limit. |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainHostLimit_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit * | limit | ||
| ) |
Get autofeature host gain limit for a controller.
| [in] | controller | controller handle |
| [out] | limit | the current host gain limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainHostLimit_GetRange | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit * | limit | ||
| ) |
Get autofeature host gain limit range for a controller.
| [in] | controller | controller handle |
| [out] | limit | the possible range for host gain limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainHostLimit_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit | limit | ||
| ) |
Set autofeature host gain limit for a controller.
The valid values are dependent on the used gain node and can be between minimum and maximum. Default is the complete range.
If any value of the limit is out of range, the value is clamped to be valid. In this case, the function returns with PEAK_AFL_STATUS_VALUE_ADJUSTED. It is recommended to check the current values by calling peak_afl_AutoController_GainHostLimit_Set after this call.
| [in] | controller | controller handle |
| [in] | limit | Limits the controller to adjust the host gain to the supplied range between min and max of limit. |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainLimit_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit * | limit | ||
| ) |
Get autofeature gain limit for a controller.
| [in] | controller | controller handle |
| [out] | limit | the current gain limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainLimit_GetRange | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit * | limit | ||
| ) |
Get autofeature gain limit range for a controller.
| [in] | controller | controller handle |
| [out] | limit | the possible range for gain limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainLimit_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
Check if gain limit is supported for a controller.
If supported is PEAK_AFL_TRUE gain limit is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [out] | supported | true if auto gain limit is supported, otherwise returns false. |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainLimit_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit | limit | ||
| ) |
Set autofeature gain limit for a controller.
The valid values are dependent on the used gain node and can be between minimum and maximum. Default is the complete range. The used priority list is: Analog -> Digital -> Any -> IPL (if supplied).
If any value of the limit is out of range, the value is clamped to be valid. In this case, the function returns with PEAK_AFL_STATUS_VALUE_ADJUSTED. It is recommended to check the current values by calling peak_afl_AutoController_GainLimit_Get after this call.
| [in] | controller | controller handle |
| [in] | limit | Limits the controller to adjust the gain to the supplied range between min and max of limit. |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GetLastAutoAverage | ( | peak_afl_controller_handle | controller, |
| uint8_t * | average | ||
| ) |
Get the last auto average for a controller.
Used by Controllers processing a mono image.
| [in] | controller | controller handle |
| [out] | average | autofeature average |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GetLastAutoAverages | ( | peak_afl_controller_handle | controller, |
| uint8_t * | averageRed, | ||
| uint8_t * | averageGreen, | ||
| uint8_t * | averageBlue | ||
| ) |
Get the last auto average for a controller.
Used by Controllers processing a color image.
| [in] | controller | controller handle |
| [out] | averageRed | autofeature average red channel |
| [out] | averageGreen | autofeature average green channel |
| [out] | averageBlue | autofeature average blue channel |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Hysteresis_Default | ( | peak_afl_controller_handle | controller, |
| uint8_t * | hysteresis | ||
| ) |
Get the autofeature hysteresis default.
| [in] | controller | controller handle |
| [out] | hysteresis | the default hysteresis |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Hysteresis_Get | ( | peak_afl_controller_handle | controller, |
| uint8_t * | hysteresis | ||
| ) |
Get the autofeature hysteresis for a controller.
| [in] | controller | controller handle |
| [out] | hysteresis | the hysteresis |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Hysteresis_GetRange | ( | peak_afl_controller_handle | controller, |
| uint8_t * | min, | ||
| uint8_t * | max, | ||
| uint8_t * | inc | ||
| ) |
Get autofeature hysteresis range for a controller.
| [in] | controller | controller handle |
| [out] | min | minimum number of hysteresis |
| [out] | max | maximum number of hysteresis |
| [out] | inc | increment number of hysteresis |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Hysteresis_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
Check if hysteresis is supported for a controller.
If supported is PEAK_AFL_TRUE hysteresis is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller supports hysteresis |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Hysteresis_Set | ( | peak_afl_controller_handle | controller, |
| uint8_t | hysteresis | ||
| ) |
Set the autofeature hysteresis for a controller.
Set the hysteresis for the algorithm set by peak_afl_AutoController_Algorithm_Set
| [in] | controller | controller handle |
| [in] | hysteresis | the hysteresis to set |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Limit_Default | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_limit * | limit | ||
| ) |
Get the autofeature default limit.
| [in] | controller | controller handle |
| [out] | limit | the default limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Limit_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_limit * | limit | ||
| ) |
Get the autofeature limit for a controller.
| [in] | controller | controller handle |
| [out] | limit | the limit to get |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Limit_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
Check if limit is supported for a controller.
If supported is PEAK_AFL_TRUE limit is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller supports limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Limit_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_limit | limit | ||
| ) |
Set the autofeature limit for a controller.
Sets the minimum and maximum limit for the algorithm set by peak_afl_AutoController_Algorithm_Set
| [in] | controller | controller handle |
| [in] | limit | the limit to set |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Mode_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_automode * | mode | ||
| ) |
Get the current autofeature mode for a controller.
| [in] | controller | controller handle |
| [out] | mode | autofeature mode |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Mode_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
Check if auto mode is supported for a controller.
If supported is PEAK_AFL_TRUE auto mode is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller supports auto mode |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Mode_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_automode | mode | ||
| ) |
Set the autofeature mode for a controller.
Will set the controller mode to mode. See peak_afl_controller_automode for a list of valid values.
| [in] | controller | controller handle |
| [in] | mode | autofeature mode |
| PEAK_AFL_API_STATUS peak_afl_AutoController_ROI_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_rectangle * | roi | ||
| ) |
Get the autofeature region of interest for a controller.
Get the region of interest for a controller. The processed image will be cropped to the region of interest set.
| [in] | controller | controller handle |
| [out] | roi | region of interest |
| PEAK_AFL_API_STATUS peak_afl_AutoController_ROI_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
Check if setting a region of interest is supported for a controller.
If supported is PEAK_AFL_TRUE region of interest is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller supports setting a region of interest |
| PEAK_AFL_API_STATUS peak_afl_AutoController_ROI_Preset_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
Check if ROI preset is supported for a controller.
If supported is PEAK_AFL_TRUE ROI preset is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller supports ROI preset |
| PEAK_AFL_API_STATUS peak_afl_AutoController_ROI_Preset_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_roi_preset | roiPreset | ||
| ) |
Set the autofeature region of interest preset for a controller.
Will set the supplied preset as the region of interest. See also peak_afl_AutoController_ROI_Set.
| [in] | controller | controller handle |
| [in] | roiPreset | region of interest preset |
| PEAK_AFL_API_STATUS peak_afl_AutoController_ROI_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_rectangle | roi | ||
| ) |
Set the autofeature region of interest for a controller.
Set the region of interest for a controller. The processed image will be cropped to the region of interest set.
| [in] | controller | controller handle |
| [in] | roi | region of interest |
| PEAK_AFL_API_STATUS peak_afl_AutoController_SharpnessAlgorithm_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_sharpness_algorithm * | algorithm | ||
| ) |
Get the used sharpness algorithm for a controller.
| [in] | controller | controller handle |
| [out] | algorithm | auto controller sharpness algorithm |
| PEAK_AFL_API_STATUS peak_afl_AutoController_SharpnessAlgorithm_GetList | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_sharpness_algorithm * | typeList, | ||
| uint32_t * | listSize | ||
| ) |
Get the list of supported sharpness algorithms for a controller.
Uses the Two Staged Data Query principle. To set a value, see peak_afl_AutoController_SharpnessAlgorithm_Set.
| [in] | controller | controller handle |
| [out] | typeList | Pointer to a user allocated list of peak_afl_controller_sharpness_algorithm. If this parameter is NULL, listSize will contain the needed count of typeList. |
| [in,out] | listSize |
|
| PEAK_AFL_API_STATUS peak_afl_AutoController_SharpnessAlgorithm_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
check setting a sharpness algorithm is supported by a controller.
If supported is PEAK_AFL_TRUE sharpness algorithm is supported, otherwise it is unsupported.
Call peak_afl_AutoController_SharpnessAlgorithm_GetList to get a list of supported sharpness algorithms.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller supports setting a sharpness algorithm |
| PEAK_AFL_API_STATUS peak_afl_AutoController_SharpnessAlgorithm_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_sharpness_algorithm | algorithm | ||
| ) |
Set the used sharpness algorithm for a controller.
To get a list of supported algorithms, see peak_afl_AutoController_SharpnessAlgorithm_GetList.
| [in] | controller | controller handle |
| [in] | algorithm | auto controller sharpness algorithm |
| PEAK_AFL_API_STATUS peak_afl_AutoController_SkipFrames_Get | ( | peak_afl_controller_handle | controller, |
| uint32_t * | count | ||
| ) |
Get number of frames skipped for a controller.
Gets the skipped frames for the controller. Only every N-th image will be processed.
| [in] | controller | controller handle |
| [out] | count | number of frames skipped |
| PEAK_AFL_API_STATUS peak_afl_AutoController_SkipFrames_GetRange | ( | peak_afl_controller_handle | controller, |
| uint32_t * | min, | ||
| uint32_t * | max, | ||
| uint32_t * | inc | ||
| ) |
Get range for frames skipped for a controller.
| [in] | controller | controller handle |
| [out] | min | minimum number of frames skipped |
| [out] | max | maximum number of frames skipped |
| [out] | inc | increment number of frames skipped |
| PEAK_AFL_API_STATUS peak_afl_AutoController_SkipFrames_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
Check if skip frames is supported for a controller.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller supports skipping frames |
| PEAK_AFL_API_STATUS peak_afl_AutoController_SkipFrames_Set | ( | peak_afl_controller_handle | controller, |
| uint32_t | count | ||
| ) |
Set number of frames skipped for a controller.
Sets the skipped frames for the controller. Only every N-th image will be processed.
| [in] | controller | controller handle |
| [in] | count | number of frames skipped |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Status | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_status * | status | ||
| ) |
Get the status for a controller.
See peak_afl_controller_status for a list of values.
| [in] | controller | controller handle |
| [out] | status | controller status |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Type_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_controllerType * | type | ||
| ) |
Get the controller type.
See peak_afl_controllerType for a list of values.
| [in] | controller | controller handle |
| [out] | type | auto controller type |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Weighted_ROI_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_weighted_rectangle * | weightedRoiList, | ||
| uint32_t * | listSize | ||
| ) |
Get the autofeature weighted region of interest for a controller.
Uses the Two Staged Data Query principle.
| [in] | controller | controller handle |
| [out] | weightedRoiList | Pointer to a user allocated list of peak_afl_weighted_rectangle. If this parameter is NULL, listSize will contain the needed count of typeList. |
| [in,out] | listSize |
|
| PEAK_AFL_API_STATUS peak_afl_AutoController_Weighted_ROI_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported | ||
| ) |
Check if weighted region of interest is supported for a controller.
If supported is PEAK_AFL_TRUE weighted region of interest is supported, otherwise it is unsupported.
| [in] | controller | controller handle |
| [out] | supported | boolean if controller supports weighted roi |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Weighted_ROI_Min_Size | ( | peak_afl_controller_handle | controller, |
| peak_afl_size * | size | ||
| ) |
Get the autofeature minimum size for the weighted region of interest for a controller.
| [in] | controller | controller handle |
| [out] | size | the minimum size |
| PEAK_AFL_API_STATUS peak_afl_AutoController_Weighted_ROI_Set | ( | peak_afl_controller_handle | controller, |
| const peak_afl_weighted_rectangle * | weightedRoiList, | ||
| uint32_t | listSize | ||
| ) |
Set the autofeature weighted region of interest for a controller.
Already set weighted regions of interest will be overwritten
| [in] | controller | controller handle |
| [in] | weightedRoiList | list of weighted region of interest |
| [in] | listSize | count of weighted region of interest in /p weightedRoiList |