IDS peak comfortC v1.15.0
Loading...
Searching...
No Matches
Rotation

Image rotation related functions and types. More...

Topics

 Rotation angles
 Supported rotation angles.

Functions

peak_status peak_IPL_Rotation_Angle_Set (peak_camera_handle hCam, int32_t rotationAngle)
 Sets the rotation in the image processing pipeline.
peak_status peak_IPL_Rotation_Angle_Get (peak_camera_handle hCam, int32_t *rotationAngle)
 Reads the rotation angle.

Detailed Description

Image rotation related functions and types.

This feature is applied in the host.

Function Documentation

◆ peak_IPL_Rotation_Angle_Get()

peak_status peak_IPL_Rotation_Angle_Get ( peak_camera_handle hCam,
int32_t * rotationAngle )

Reads the rotation angle.

Reads the rotation angle from the image processing pipline.

Parameters
[in]hCamThe camera handle.
[in]rotationAngleThe current rotation angle. See Rotation angles.
Returns
PEAK_STATUS_SUCCESS Operation was successful; no error occurred.
PEAK_STATUS_INVALID_PARAMETER rotationAngle is an invalid pointer.
PEAK_STATUS_INVALID_HANDLE hCam is an invalid camera handle.
PEAK_STATUS_NOT_INITIALIZED The library is not initialized.
PEAK_STATUS_ERROR An unexpected internal error occurred.
Since
1.11

◆ peak_IPL_Rotation_Angle_Set()

peak_status peak_IPL_Rotation_Angle_Set ( peak_camera_handle hCam,
int32_t rotationAngle )

Sets the rotation in the image processing pipeline.

Rotates the image with the specified rotation angle. Only values of Rotation angles are supported right now.

Parameters
[in]hCamThe camera handle.
[in]rotationAngleThe desired absolut rotation angle. See Rotation angles.
Returns
PEAK_STATUS_SUCCESS Operation was successful; no error occurred.
PEAK_STATUS_OUT_OF_RANGE rotationAngle is an invalid parameter.
PEAK_STATUS_INVALID_HANDLE hCam is an invalid camera handle.
PEAK_STATUS_NOT_INITIALIZED The library is not initialized.
PEAK_STATUS_ERROR An unexpected internal error occurred.
Since
1.11