CameraIntrinsics
CameraIntrinsics
CameraIntrinsics
CameraIntrinsics
Class
Definition
Represents the intrinsics that describe the camera distortion model.
public : sealed class CameraIntrinsics : ICameraIntrinsics, ICameraIntrinsics2public sealed class CameraIntrinsics : ICameraIntrinsics, ICameraIntrinsics2Public NotInheritable Class CameraIntrinsics Implements ICameraIntrinsics, ICameraIntrinsics2// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
FocalLength FocalLength FocalLength FocalLength
Gets the focal length of the camera.
public : Vector2 FocalLength { get; }public Vector2 FocalLength { get; }Public ReadOnly Property FocalLength As Vector2// You can use this property in JavaScript.
- Value
- Vector2 Vector2 Vector2 Vector2
The focal length of the camera.
ImageHeight ImageHeight ImageHeight ImageHeight
Gets the image height of the camera, in pixels.
public : unsigned int ImageHeight { get; }public uint ImageHeight { get; }Public ReadOnly Property ImageHeight As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The image height of the camera, in pixels.
ImageWidth ImageWidth ImageWidth ImageWidth
Gets the image width of the camera, in pixels.
public : unsigned int ImageWidth { get; }public uint ImageWidth { get; }Public ReadOnly Property ImageWidth As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The image width of the camera, in pixels.
PrincipalPoint PrincipalPoint PrincipalPoint PrincipalPoint
Gets the principal point of the camera.
public : Vector2 PrincipalPoint { get; }public Vector2 PrincipalPoint { get; }Public ReadOnly Property PrincipalPoint As Vector2// You can use this property in JavaScript.
- Value
- Vector2 Vector2 Vector2 Vector2
The principal point of the camera.
RadialDistortion RadialDistortion RadialDistortion RadialDistortion
Gets the radial distortion coefficient of the camera.
public : Vector3 RadialDistortion { get; }public Vector3 RadialDistortion { get; }Public ReadOnly Property RadialDistortion As Vector3// You can use this property in JavaScript.
- Value
- Vector3 Vector3 Vector3 Vector3
The radial distortion coefficient of the camera.
TangentialDistortion TangentialDistortion TangentialDistortion TangentialDistortion
Gets the tangential distortion coefficient of the camera.
public : Vector2 TangentialDistortion { get; }public Vector2 TangentialDistortion { get; }Public ReadOnly Property TangentialDistortion As Vector2// You can use this property in JavaScript.
- Value
- Vector2 Vector2 Vector2 Vector2
The tangential distortion coefficient of the camera.
UndistortedProjectionTransform UndistortedProjectionTransform UndistortedProjectionTransform UndistortedProjectionTransform
Gets a matrix that transforms a point to compensate for the distortion model of the camera, resulting in an undistorted point.
public : Matrix4x4 UndistortedProjectionTransform { get; }public Matrix4x4 UndistortedProjectionTransform { get; }Public ReadOnly Property UndistortedProjectionTransform As Matrix4x4// You can use this property in JavaScript.
- Value
- Matrix4x4 Matrix4x4 Matrix4x4 Matrix4x4
A matrix that transforms a point to compensate for the distortion model of the camera.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Methods
DistortPoint(Point) DistortPoint(Point) DistortPoint(Point) DistortPoint(Point)
Applies the distortion model of the camera to an undistorted point so that the resulting point's location is distorted as if it were captured by the camera's lens.
public : Point DistortPoint(Point input)public Point DistortPoint(Point input)Public Function DistortPoint(input As Point) As Point// You can use this method in JavaScript.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
DistortPoints(Point[], Point[]) DistortPoints(Point[], Point[]) DistortPoints(Point[], Point[]) DistortPoints(Point[], Point[])
Applies the distortion model of the camera to an array of undistorted points so that the resulting points' locations are distorted as if they were captured by the camera's lens.
public : void DistortPoints(Point[] inputs, Point[] results)public void DistortPoints(Point[] inputs, Point[] results)Public Function DistortPoints(inputs As Point[], results As Point[]) As void// You can use this method in JavaScript.
- inputs
- Point[] Point[] Point[] Point[]
The array of points to undestort.
- results
- Point[] Point[] Point[] Point[]
An array of undistorted points.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
ProjectManyOntoFrame(Vector3[], Point[]) ProjectManyOntoFrame(Vector3[], Point[]) ProjectManyOntoFrame(Vector3[], Point[]) ProjectManyOntoFrame(Vector3[], Point[])
Projects an array of camera space points into screen space pixel coordinates.
public : void ProjectManyOntoFrame(Vector3[] coordinates, Point[] results)public void ProjectManyOntoFrame(Vector3[] coordinates, Point[] results)Public Function ProjectManyOntoFrame(coordinates As Vector3[], results As Point[]) As void// You can use this method in JavaScript.
- coordinates
- Vector3[] Vector3[] Vector3[] Vector3[]
The array of camera space points to project into screen space.
- results
- Point[] Point[] Point[] Point[]
The array of screen space pixel coordinates.
ProjectOntoFrame(Vector3) ProjectOntoFrame(Vector3) ProjectOntoFrame(Vector3) ProjectOntoFrame(Vector3)
Projects a camera space point into screen space pixel coordinates.
public : Point ProjectOntoFrame(Vector3 coordinate)public Point ProjectOntoFrame(Vector3 coordinate)Public Function ProjectOntoFrame(coordinate As Vector3) As Point// You can use this method in JavaScript.
- coordinate
- Vector3 Vector3 Vector3 Vector3
The camera space point to project into screen space.
UndistortPoint(Point) UndistortPoint(Point) UndistortPoint(Point) UndistortPoint(Point)
Transforms a point to compensate for the distortion model of the camera, resulting in an undistorted point.
public : Point UndistortPoint(Point input)public Point UndistortPoint(Point input)Public Function UndistortPoint(input As Point) As Point// You can use this method in JavaScript.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
UndistortPoints(Point[], Point[]) UndistortPoints(Point[], Point[]) UndistortPoints(Point[], Point[]) UndistortPoints(Point[], Point[])
Transforms an array of points to compensate for the distortion model of the camera, resulting in an array of undistorted points.
public : void UndistortPoints(Point[] inputs, Point[] results)public void UndistortPoints(Point[] inputs, Point[] results)Public Function UndistortPoints(inputs As Point[], results As Point[]) As void// You can use this method in JavaScript.
- inputs
- Point[] Point[] Point[] Point[]
The array of points to undistort.
- results
- Point[] Point[] Point[] Point[]
An array of undistorted points.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
UnprojectAtUnitDepth(Point) UnprojectAtUnitDepth(Point) UnprojectAtUnitDepth(Point) UnprojectAtUnitDepth(Point)
Unprojects pixel coordinates into a camera space ray from the camera origin, expressed as a X, Y coordinates on the plane at Z = 1.0.
public : Vector2 UnprojectAtUnitDepth(Point pixelCoordinate)public Vector2 UnprojectAtUnitDepth(Point pixelCoordinate)Public Function UnprojectAtUnitDepth(pixelCoordinate As Point) As Vector2// You can use this method in JavaScript.
The X, Y coordinates of the unprojected pixel on the plane at Z = 1.0.
UnprojectPixelsAtUnitDepth(Point[], Vector2[]) UnprojectPixelsAtUnitDepth(Point[], Vector2[]) UnprojectPixelsAtUnitDepth(Point[], Vector2[]) UnprojectPixelsAtUnitDepth(Point[], Vector2[])
Unprojects an array pixel coordinates into a camera space rays from the camera origin, expressed as a X, Y coordinates on the plane at Z = 1.0.
public : void UnprojectPixelsAtUnitDepth(Point[] pixelCoordinates, Vector2[] results)public void UnprojectPixelsAtUnitDepth(Point[] pixelCoordinates, Vector2[] results)Public Function UnprojectPixelsAtUnitDepth(pixelCoordinates As Point[], results As Vector2[]) As void// You can use this method in JavaScript.
- pixelCoordinates
- Point[] Point[] Point[] Point[]
The array of pixel coordinates to unproject into camera space.
- results
- Vector2[] Vector2[] Vector2[] Vector2[]
The array of X, Y coordinates of the unprojected pixels on the plane at Z = 1.0.