![]() |
IDS peak comfortC v1.13.0
|
Functions | |
| peak_status | peak_IPL_AutoBrightness_Gain_Mode_Set (peak_camera_handle hCam, peak_auto_feature_mode autoGainMode) |
| Set the host auto gain control mode. | |
| peak_status | peak_IPL_AutoBrightness_Gain_Mode_Get (peak_camera_handle hCam, peak_auto_feature_mode *autoGainMode) |
| Get the host auto gain control mode. | |
| peak_status | peak_IPL_AutoBrightness_GainLimit_Set (peak_camera_handle hCam, peak_double_limit gainLimit) |
| Set the host auto gain limit. | |
| peak_status | peak_IPL_AutoBrightness_GainLimit_Get (peak_camera_handle hCam, peak_double_limit *gainLimit) |
| Get the host auto gain limit. | |
| peak_status | peak_IPL_AutoBrightness_GainLimit_GetRange (peak_camera_handle hCam, peak_double_limit *gainLimit) |
| Get the host auto gain limit range. | |
Auto brightness gain control related functions and types.
This feature is applied in the host.
There is also a camera implementation. See Auto brightness control.
| peak_status peak_IPL_AutoBrightness_Gain_Mode_Get | ( | peak_camera_handle | hCam, |
| peak_auto_feature_mode * | autoGainMode ) |
Get the host auto gain control mode.
Reads the current host auto gain control mode.
| [in] | hCam | The camera handle. |
| [out] | autoGainMode | The current auto gain control mode. |
autoGainMode is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_IPL_AutoBrightness_Gain_Mode_Set | ( | peak_camera_handle | hCam, |
| peak_auto_feature_mode | autoGainMode ) |
Set the host auto gain control mode.
Writes the desired host auto gain control mode.
| [in] | hCam | The camera handle. |
| [in] | autoGainMode | The auto gain control mode to set. |
autoGainMode is an invalid auto feature mode. Check peak_auto_feature_mode. hCam is an invalid camera handle. | peak_status peak_IPL_AutoBrightness_GainLimit_Get | ( | peak_camera_handle | hCam, |
| peak_double_limit * | gainLimit ) |
Get the host auto gain limit.
| [in] | hCam | The camera handle. |
| [out] | gainLimit | The current gain limit. |
gainLimit is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_IPL_AutoBrightness_GainLimit_GetRange | ( | peak_camera_handle | hCam, |
| peak_double_limit * | gainLimit ) |
Get the host auto gain limit range.
The valid values are dependend on the used gain type Default is the complete range.
| [in] | hCam | The camera handle. |
| [out] | gainLimit | The valid range for the gain limit. |
gainLimit is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_IPL_AutoBrightness_GainLimit_Set | ( | peak_camera_handle | hCam, |
| peak_double_limit | gainLimit ) |
Set the host auto gain limit.
The valid values are dependend on the used gain type and can be read out by calling peak_IPL_AutoBrightness_GainLimit_GetRange. 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 functions returns with PEAK_STATUS_VALUE_ADJUSTED. It is recommended to check the current values by calling peak_IPL_AutoBrightness_GainLimit_Get after this call.
| [in] | hCam | The camera handle. |
| [in] | gainLimit | The gain limit to set. |
gainLimit is an invalid pointer. hCam is an invalid camera handle.