PixelToCamera Result
Runtime Only
Applies To
Vision Calibration
Description
Returns the CameraX, CameraY and Angle position coordinates in the camera coordinate frame.
Usage
VGet Calibration.PixelToCamera, xValue, yValue, uValue, xVar, yVar, uVar
- Calibration
- Name of a calibration or string variable containing a calibration name.
- xValue
- Real variable representing the X pixel coordinate position in the image cooordinate syetem.
- yValue
- Real variable representing the Y pixel coordinate position in the image cooordinate syetem.
- uValue
- Real variable representing the angular.
- xVar
- Real variable that will contain the X coordinate position.
- yVar
- Real variable that will contain the Y coordinate position.
- uVar
- Real variable that will contain the angular position (rotation) with respect to the camera coordinate system
Values
- xValue: Real number in pixels
- yValue: Real number in pixels
- uValue: Real number in degrees
- xVar: Real variable representing: X coordinate position in millimeters
- yVar: Real variable representing Y coordinate position in millimeters
- uVar: Real variable representing angle in degrees
Remarks
The xVar and yVar values are returned in millimeters since the Camera Coordinate Frame is calibrated in millimeters. The uVar value is returned in degrees.
It should be noted that the PixelToCamera result can only be calculated for vision calibrations which have been calibrated. If not calibrated then the PixelToCamera result cause an error to occur.
See Also
CameraX Result, CameraY Result, CameraXYU Result