![]() |
IDS peak comfortC
v1.6.0
|
Color correction related functions and types.
This feature is applied in the host.
There is also a camera implementation. See Color correction.
| peak_status peak_IPL_ColorCorrection_Enable | ( | peak_camera_handle | hCam, |
| peak_bool | enabled | ||
| ) |
Enable/Disable the host color correction.
Sets the host color correction to enabled or disabled.
| [in] | hCam | The camera handle. |
| [in] | enabled | The desired enabled status. PEAK_TRUE for enabled, PEAK_FALSE for disabled. |
hCam is an invalid camera handle. | peak_bool peak_IPL_ColorCorrection_IsEnabled | ( | peak_camera_handle | hCam | ) |
Get the enabled status of the host color correction.
Queries whether the host color correction is currently enabled or disabled.
This function implements the Enabled Status Query principle.
| [in] | hCam | The camera handle. |
| peak_status peak_IPL_ColorCorrection_Matrix_Get | ( | peak_camera_handle | hCam, |
| peak_matrix * | colorCorrectionMatrix | ||
| ) |
Get the host color correction matrix.
Reads the current host color correction matrix.
| [in] | hCam | The camera handle. |
| [out] | colorCorrectionMatrix | The color correction matrix. |
colorCorrectionMatrix is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_IPL_ColorCorrection_Matrix_Set | ( | peak_camera_handle | hCam, |
| peak_matrix | colorCorrectionMatrix | ||
| ) |
Sets the cost color correction matrix.
Writes the desired image color correction matrix.
| [in] | hCam | The camera handle. |
| [in] | colorCorrectionMatrix | The color correction matrix to set. |
hCam is an invalid camera handle. | peak_status peak_IPL_ColorCorrection_Saturation_Get | ( | peak_camera_handle | hCam, |
| double * | saturation | ||
| ) |
Get the saturation value.
Reads the current host color correction saturation value
| [in] | hCam | The camera handle. |
| [out] | saturation | The saturation value. |
saturation is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_IPL_ColorCorrection_Saturation_GetRange | ( | peak_camera_handle | hCam, |
| double * | minSaturation, | ||
| double * | maxSaturation, | ||
| double * | incSaturation | ||
| ) |
Get the current range of valid saturation values.
Queries the current range of valid values for saturation value.
| [in] | hCam | The camera handle. |
| [out] | minSaturation | The minimum saturation value. |
| [out] | maxSaturation | The maximum saturation value. |
| [out] | incSaturation | The saturation value increment. |
minSaturation, maxSaturation, and incSaturation is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_IPL_ColorCorrection_Saturation_Set | ( | peak_camera_handle | hCam, |
| double | saturation | ||
| ) |
Sets the saturation value.
Writes the desired saturation value.
| [in] | hCam | The camera handle. |
| [in] | saturation | The saturation value to be set. |
saturation value is out of range. Check the range of valid values via peak_IPL_ColorCorrection_Saturation_GetRange. hCam is an invalid camera handle.