![]() |
IDS peak comfortC v1.14.1
|
Functions | |
| peak_access_status | peak_Scaling_GetAccessStatus (peak_camera_handle hCam) |
| Query the scaling access status. | |
| peak_status | peak_Scaling_FactorX_GetRange (peak_camera_handle hCam, double *minScalingFactorX, double *maxScalingFactorX, double *incScalingFactorX) |
| Get the current range of valid scaling factor x values. | |
| peak_status | peak_Scaling_FactorY_GetRange (peak_camera_handle hCam, double *minScalingFactorY, double *maxScalingFactorY, double *incScalingFactorY) |
| Get the current range of valid scaling factor y values. | |
| peak_status | peak_Scaling_Set (peak_camera_handle hCam, double scalingFactorX, double scalingFactorY) |
| Set the scaling factors. | |
| peak_status | peak_Scaling_Get (peak_camera_handle hCam, double *scalingFactorX, double *scalingFactorY) |
| Get the scaling factors. | |
Pixel scaling related functions and types.
| peak_status peak_Scaling_FactorX_GetRange | ( | peak_camera_handle | hCam, |
| double * | minScalingFactorX, | ||
| double * | maxScalingFactorX, | ||
| double * | incScalingFactorX ) |
Get the current range of valid scaling factor x values.
Queries the current range of valid values for the scaling factor in x direction.
| [in] | hCam | The camera handle. |
| [out] | minScalingFactorX | The minimum scaling factor. |
| [out] | maxScalingFactorX | The maximum scaling factor. |
| [out] | incScalingFactorX | The scaling factor increment. |
minScalingFactorX, maxScalingFactorX, and incScalingFactorX is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_Scaling_FactorY_GetRange | ( | peak_camera_handle | hCam, |
| double * | minScalingFactorY, | ||
| double * | maxScalingFactorY, | ||
| double * | incScalingFactorY ) |
Get the current range of valid scaling factor y values.
Queries the current range of valid values for the scaling factor in y direction.
| [in] | hCam | The camera handle. |
| [out] | minScalingFactorY | The minimum scaling factor. |
| [out] | maxScalingFactorY | The maximum scaling factor. |
| [out] | incScalingFactorY | The scaling factor increment. |
minScalingFactorY, maxScalingFactorY, and incScalingFactorY is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_Scaling_Get | ( | peak_camera_handle | hCam, |
| double * | scalingFactorX, | ||
| double * | scalingFactorY ) |
Get the scaling factors.
Reads the current pixel scaling factors.
| [in] | hCam | The camera handle. |
| [out] | scalingFactorX | The scaling factor in x direction. |
| [out] | scalingFactorY | The scaling factor in y direction. |
scalingFactorX and/or scalingFactorY are invalid pointers. hCam is an invalid camera handle. | peak_access_status peak_Scaling_GetAccessStatus | ( | peak_camera_handle | hCam | ) |
Query the scaling access status.
Provides the current access status for the scaling 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_Scaling_Set | ( | peak_camera_handle | hCam, |
| double | scalingFactorX, | ||
| double | scalingFactorY ) |
Set the scaling factors.
Writes the desired pixel scaling factors.
| [in] | hCam | The camera handle. |
| [in] | scalingFactorX | The scaling factor in x direction to set. |
| [in] | scalingFactorY | The scaling factor in y direction to set. |
scalingFactorX and/or scalingFactorY are out of range. Check the range of valid values via peak_Scaling_FactorX_GetRange and peak_Scaling_FactorY_GetRange. hCam is an invalid camera handle.