![]() |
IDS peak AFL v1.8.0
|
Predefined region of interest configurations for focus control. More...
Enumerations | |
| enum | peak_afl_roi_preset { PEAK_AFL_CONTROLLER_ROI_PRESET_CENTER } |
| Predefined ROI preset configurations. More... | |
Functions | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_ROI_Preset_IsSupported (peak_afl_controller_handle controller, peak_afl_BOOL8 *supported) |
| Check if ROI preset feature 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 a predefined region of interest preset for a controller. | |
Predefined region of interest configurations for focus control.
| enum peak_afl_roi_preset |
Predefined ROI preset configurations.
Defines commonly used ROI configurations that can be quickly applied to controllers without manually specifying coordinates. These presets automatically adapt to the current image size.
| PEAK_AFL_API_STATUS peak_afl_AutoController_ROI_Preset_IsSupported | ( | peak_afl_controller_handle | controller, |
| peak_afl_BOOL8 * | supported ) |
Check if ROI preset feature is supported for a controller.
Determines whether the specified controller supports predefined region of interest presets. ROI presets provide convenient, predefined rectangular regions that are commonly used for automatic feature processing, such as center regions, corner regions, or specific aspect ratio areas. This feature simplifies ROI configuration by offering standard options instead of requiring manual coordinate specification.
| [in] | controller | Controller handle to check for ROI preset support |
| [out] | supported | Pointer to receive support status:
|
| PEAK_AFL_API_STATUS peak_afl_AutoController_ROI_Preset_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_roi_preset | roiPreset ) |
Set a predefined region of interest preset for a controller.
Configures the controller to use a predefined region of interest preset instead of manually specified coordinates. ROI presets provide convenient, standardized rectangular regions that are commonly used for automatic feature processing. This simplifies configuration by offering well-tested region definitions without requiring manual coordinate calculation.
| [in] | controller | Controller handle for which to set the ROI preset |
| [in] | roiPreset | Predefined region of interest preset to apply. Available presets may include center regions, corner areas, or specific aspect ratios. See peak_afl_roi_preset for available options. |