![]() |
IDS peak comfortC
v1.5.1
|
Functions | |
| peak_access_status | peak_ROI_GetAccessStatus (peak_camera_handle hCam) |
| Query the ROI access status. More... | |
| peak_status | peak_ROI_Offset_GetRange (peak_camera_handle hCam, peak_position *minROIOffset, peak_position *maxROIOffset, peak_position *incROIOffset) |
| Get the current range of valid ROI offsets. More... | |
| peak_status | peak_ROI_Size_GetRange (peak_camera_handle hCam, peak_size *minROISize, peak_size *maxROISize, peak_size *incROISize) |
| Get the current range of valid ROI sizes. More... | |
| peak_status | peak_ROI_Set (peak_camera_handle hCam, peak_roi roi) |
| Set the ROI. More... | |
| peak_status | peak_ROI_Get (peak_camera_handle hCam, peak_roi *roi) |
| Get the ROI. More... | |
ROI (Region Of Interest) related functions and types.
| peak_status peak_ROI_Get | ( | peak_camera_handle | hCam, |
| peak_roi * | roi | ||
| ) |
Get the ROI.
Reads the current image ROI.
| [in] | hCam | The camera handle. |
| [out] | roi | The ROI. |
roi is an invalid pointer. hCam is an invalid camera handle. | peak_access_status peak_ROI_GetAccessStatus | ( | peak_camera_handle | hCam | ) |
Query the ROI access status.
Provides the current access status for the ROI 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_ROI_Offset_GetRange | ( | peak_camera_handle | hCam, |
| peak_position * | minROIOffset, | ||
| peak_position * | maxROIOffset, | ||
| peak_position * | incROIOffset | ||
| ) |
Get the current range of valid ROI offsets.
Queries the current range of valid values for the ROI offset.
The range of valid ROI offset values may depend on the camera configuration and the camera status.
In special the current setting of the ROI size has an impact on the range of valid ROI offset values.
| [in] | hCam | The camera handle. |
| [out] | minROIOffset | The minimum ROI offset values. |
| [out] | maxROIOffset | The maximum ROI offset values. |
| [out] | incROIOffset | The ROI offset values increments. |
minROIOffset, maxROIOffset, and incROIOffset is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_ROI_Set | ( | peak_camera_handle | hCam, |
| peak_roi | roi | ||
| ) |
Set the ROI.
Writes the desired image ROI.
| [in] | hCam | The camera handle. |
| [in] | roi | The ROI to set. |
roi is out of range. Check the range of valid values via peak_ROI_Offset_GetRange and peak_ROI_Size_GetRange. hCam is an invalid camera handle. | peak_status peak_ROI_Size_GetRange | ( | peak_camera_handle | hCam, |
| peak_size * | minROISize, | ||
| peak_size * | maxROISize, | ||
| peak_size * | incROISize | ||
| ) |
Get the current range of valid ROI sizes.
Queries the current range of valid values for the ROI dimensions.
The range of valid ROI size values may depend on the camera configuration and the camera status.
In special the current setting of the ROI offset has an impact on the range of valid ROI size values.
| [in] | hCam | The camera handle. |
| [out] | minROISize | The minimum ROI size values. |
| [out] | maxROISize | The maximum ROI size values. |
| [out] | incROISize | The ROI size values increments. |
minROISize, maxROISize, and incROISize is an invalid pointer. hCam is an invalid camera handle.