![]() |
IDS peak comfortC
v1.6.0
|
Enumerations | |
| enum | peak_hotpixel_correction_sensitivity { PEAK_HOTPIXEL_CORRECTION_SENSITIVITY_INVALID, PEAK_HOTPIXEL_CORRECTION_SENSITIVITY_LEVEL_1, PEAK_HOTPIXEL_CORRECTION_SENSITIVITY_LEVEL_2, PEAK_HOTPIXEL_CORRECTION_SENSITIVITY_LEVEL_3, PEAK_HOTPIXEL_CORRECTION_SENSITIVITY_LEVEL_4, PEAK_HOTPIXEL_CORRECTION_SENSITIVITY_LEVEL_5 } |
| peak hotpixel correction sensitivity level More... | |
Hotpixel correction related functions and types.
peak hotpixel correction sensitivity level
Higher sensitivity levels mean more hotpixels will be detected and corrected, but can also lead to more false-positives.
| peak_status peak_IPL_HotpixelCorrection_Enable | ( | peak_camera_handle | hCam, |
| peak_bool | enabled | ||
| ) |
Enable/Disable the host hotpixel correction.
Sets the host hotpixel correction to enabled or disabled. Hotpixel correction is supported for bayer and mono input images.
| [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_status peak_IPL_HotpixelCorrection_GetList | ( | peak_camera_handle | hCam, |
| peak_position * | hotpixelList, | ||
| size_t * | hotpixelCount | ||
| ) |
Get the list of detected host hotpixel correction positions/pixels.
Queries the list of detected host hotpixel correction positions/pixels.
This function implements the Two Staged Data Query principle.
| [in] | hCam | The camera handle. |
| [out] | hotpixelList | Pointer to a user allocated array buffer to receive the hotpixel positions list. If this parameter is NULL, hotpixelCount will contain the current number of hotpixel positions. The required size of hotpixelList in bytes is hotpixelCount x sizeof(peak_position). |
| [in,out] | hotpixelCount |
|
hotpixelList is not NULL and the value of *hotpixelCount is too small to receive the expected amount of data. hotpixelCount is an invalid pointer. hCam is an invalid camera handle. | peak_bool peak_IPL_HotpixelCorrection_IsEnabled | ( | peak_camera_handle | hCam | ) |
Get the enabled status of the host hotpixel correction.
Queries whether the host hotpixel correction is currently enabled or disabled.
This function implements the Enabled Status Query principle.
| [in] | hCam | The camera handle. |
| peak_status peak_IPL_HotpixelCorrection_ResetList | ( | peak_camera_handle | hCam | ) |
Reset the list of host hotpixel positions.
Resets the list of hotpixel positions that should be corrected, so they are automatically detected again.
By default, the host hotpixel correction automatically detects the hotpixel positions once and uses these positions for the hotpixel correction in the following images. This function resets/clears these positions, so they are automatically detected again.
| [in] | hCam | The camera handle. |
hCam is an invalid camera handle. | peak_status peak_IPL_HotpixelCorrection_Sensitivity_Get | ( | peak_camera_handle | hCam, |
| peak_hotpixel_correction_sensitivity * | hotpixelCorrectionSensitivity | ||
| ) |
Get the host hotpixel correction sensitivity level.
Reads the current host hotpixel correction sensitivity level.
| [in] | hCam | The camera handle. |
| [out] | hotpixelCorrectionSensitivity | The color correction mode. |
hotpixelCorrectionSensitivity is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_IPL_HotpixelCorrection_Sensitivity_Set | ( | peak_camera_handle | hCam, |
| peak_hotpixel_correction_sensitivity | hotpixelCorrectionSensitivity | ||
| ) |
Set the host hotpixel correction sensitivity level.
Sets the specified host hotpixel correction sensitivity level. Setting the sensitivity also resets already detected hotpixel positions, so they are automatically detected again, with the new sensitivity (see peak_IPL_HotpixelCorrection_ResetList).
| [in] | hCam | The camera handle. |
| [in] | hotpixelCorrectionSensitivity | The hotpixel correction sensitivity level. |
hotpixelCorrectionSensitivity is an invalid hotpixel correction sensitivity. Check peak_hotpixel_correction_sensitivity. hCam is an invalid camera handle. | peak_status peak_IPL_HotpixelCorrection_SetList | ( | peak_camera_handle | hCam, |
| const peak_position * | hotpixelList, | ||
| size_t | hotpixelCount | ||
| ) |
Set the list of host hotpixel positions.
Sets the list of hotpixel positions that should be corrected.
By default, the host hotpixel correction automatically detects and corrects hotpixels. This function overwrites the automatically detected hotpixel positions, so custom values can be used for the hotpixel correction.
| [in] | hCam | The camera handle. |
| [in] | hotpixelList | The positions that should be used in the hotpixel correction. |
| [in] | hotpixelCount | The number of hotpixel positions hotpixelList holds. |
hotpixelList is an invalid pointer. hCam is an invalid camera handle.