![]() |
IDS peak comfortC v1.10.0
|
Functions | |
| PEAK_API_ACCESS_STATUS | peak_ROI_GetAccessStatus (peak_camera_handle hCam) |
| Query the ROI access status. | |
| PEAK_API_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. | |
| PEAK_API_ACCESS_STATUS | peak_ROI_Offset_GetAccessStatus (peak_camera_handle hCam) |
| Query the ROI offset access status. | |
| PEAK_API_STATUS | peak_ROI_Offset_Set (peak_camera_handle hCam, peak_position position) |
| Set the ROI offset. | |
| PEAK_API_STATUS | peak_ROI_Offset_Get (peak_camera_handle hCam, peak_position *position) |
| Get the ROI offset. | |
| PEAK_API_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. | |
| PEAK_API_ACCESS_STATUS | peak_ROI_Size_GetAccessStatus (peak_camera_handle hCam) |
| Query the ROI size access status. | |
| PEAK_API_STATUS | peak_ROI_Size_Set (peak_camera_handle hCam, peak_size size) |
| Set the ROI size. | |
| PEAK_API_STATUS | peak_ROI_Size_Get (peak_camera_handle hCam, peak_size *size) |
| Get the ROI size. | |
| PEAK_API_STATUS | peak_ROI_Set (peak_camera_handle hCam, peak_roi roi) |
| Set the ROI. | |
| PEAK_API_STATUS | peak_ROI_Get (peak_camera_handle hCam, peak_roi *roi) |
| Get the ROI. | |
ROI (Region Of Interest) related functions and types.
Using this functions, you can set the size and position of an region of interest (ROI) within an image. The ROI is always referred to the sensor. In this case, only data included in this ROI will be read out and transferred to the computer. The smaller partial image enables the camera to use a higher frame rate.
For information on the ROI position grid and if the frame rates is increased when using a ROI, see the corresponding data sheet.
ROI depend on the sensor. The values defining the position and size of an ROI have to be integer multiples of the allowed step widths.
| PEAK_API_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_API_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_API_STATUS peak_ROI_Offset_Get | ( | peak_camera_handle | hCam, |
| peak_position * | position | ||
| ) |
Get the ROI offset.
Reads the current image ROI offset.
| [in] | hCam | The camera handle. |
| [out] | position | The ROI offset. |
position is an invalid pointer. hCam is an invalid camera handle. | PEAK_API_ACCESS_STATUS peak_ROI_Offset_GetAccessStatus | ( | peak_camera_handle | hCam | ) |
Query the ROI offset access status.
Provides the current access status for the ROI offset.
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_API_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_API_STATUS peak_ROI_Offset_Set | ( | peak_camera_handle | hCam, |
| peak_position | position | ||
| ) |
Set the ROI offset.
Writes the desired image ROI offset.
| [in] | hCam | The camera handle. |
| [in] | position | The ROI offset to set. |
roi offset is out of range. Check the range of valid values via peak_ROI_Offset_GetRange. hCam is an invalid camera handle. | PEAK_API_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_API_STATUS peak_ROI_Size_Get | ( | peak_camera_handle | hCam, |
| peak_size * | size | ||
| ) |
Get the ROI size.
Reads the current image ROI size.
| [in] | hCam | The camera handle. |
| [out] | size | The ROI size. |
size is an invalid pointer. hCam is an invalid camera handle. | PEAK_API_ACCESS_STATUS peak_ROI_Size_GetAccessStatus | ( | peak_camera_handle | hCam | ) |
Query the ROI size access status.
Provides the current access status for the ROI size.
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_API_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. | PEAK_API_STATUS peak_ROI_Size_Set | ( | peak_camera_handle | hCam, |
| peak_size | size | ||
| ) |
Set the ROI size.
Writes the desired image ROI size.
| [in] | hCam | The camera handle. |
| [in] | size | The ROI size to set. |
roi size is out of range. Check the range of valid values via peak_ROI_Size_GetRange. hCam is an invalid camera handle.