![]() |
IDS peak comfortC v1.13.1
|
Functions | |
| peak_access_status | peak_Gamma_GetAccessStatus (peak_camera_handle hCam) |
| Query the gamma access status. | |
| peak_status | peak_Gamma_GetRange (peak_camera_handle hCam, double *minGamma, double *maxGamma, double *incGamma) |
| Get the current range of valid gamma values. | |
| peak_status | peak_Gamma_Set (peak_camera_handle hCam, double gamma) |
| Set the gamma value. | |
| peak_status | peak_Gamma_Get (peak_camera_handle hCam, double *gamma) |
| Get the gamma value. | |
Gamma related functions and types.
This feature is applied in the camera.
There is also a host implementation. See Host Features / Gamma.
| peak_status peak_Gamma_Get | ( | peak_camera_handle | hCam, |
| double * | gamma ) |
Get the gamma value.
Reads the current gamma value.
| [in] | hCam | The camera handle. |
| [out] | gamma | The gamma value. |
gamma is an invalid pointer. hCam is an invalid camera handle. | peak_access_status peak_Gamma_GetAccessStatus | ( | peak_camera_handle | hCam | ) |
Query the gamma access status.
Provides the current access status for the gamma feature.
This function implements the Access Status Query principle.
| [in] | hCam | The camera handle. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
hCam is an invalid camera handle. | peak_status peak_Gamma_GetRange | ( | peak_camera_handle | hCam, |
| double * | minGamma, | ||
| double * | maxGamma, | ||
| double * | incGamma ) |
Get the current range of valid gamma values.
Queries the current range of valid values for the gamma feature.
| [in] | hCam | The camera handle. |
| [out] | minGamma | The minimum gamma value. |
| [out] | maxGamma | The maximum gamma value. |
| [out] | incGamma | The gamma value increment. |
minGamma, maxGamma and incGamma is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_Gamma_Set | ( | peak_camera_handle | hCam, |
| double | gamma ) |
Set the gamma value.
Writes the desired gamma value.
| [in] | hCam | The camera handle. |
| [in] | gamma | The gamma value to set. |
gamma value is out of range. Check the range of valid values via peak_Gamma_GetRange. hCam is an invalid camera handle.