CameraIntrinsics CameraIntrinsics CameraIntrinsics CameraIntrinsics CameraIntrinsics Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Represents the intrinsics that describe the camera distortion model.

public : sealed class CameraIntrinsics : ICameraIntrinsics, ICameraIntrinsics2
struct winrt::Windows::Media::Devices::Core::CameraIntrinsics : ICameraIntrinsics, ICameraIntrinsics2
public sealed class CameraIntrinsics : ICameraIntrinsics, ICameraIntrinsics2
Public NotInheritable Class CameraIntrinsics Implements ICameraIntrinsics, ICameraIntrinsics2
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

FocalLength FocalLength FocalLength FocalLength FocalLength

Gets the focal length of the camera.

ImageHeight ImageHeight ImageHeight ImageHeight ImageHeight

Gets the image height of the camera, in pixels.

ImageWidth ImageWidth ImageWidth ImageWidth ImageWidth

Gets the image width of the camera, in pixels.

PrincipalPoint PrincipalPoint PrincipalPoint PrincipalPoint PrincipalPoint

Gets the principal point of the camera.

RadialDistortion RadialDistortion RadialDistortion RadialDistortion RadialDistortion

Gets the radial distortion coefficient of the camera.

TangentialDistortion TangentialDistortion TangentialDistortion TangentialDistortion TangentialDistortion

Gets the tangential distortion coefficient of the camera.

UndistortedProjectionTransform UndistortedProjectionTransform UndistortedProjectionTransform UndistortedProjectionTransform UndistortedProjectionTransform

Gets a matrix that transforms a 3D point to video frame pixel coordinates without compensating for the distortion model of the camera. The 2D point resulting from this transformation will not accurately map to the pixel coordinate in a video frame unless the app applies its own distortion compensation. This is useful for apps that choose to implement GPU-based distortion compensation instead of using UndistortPoint, which uses the CPU to compute the distortion compensation.

Methods

DistortPoint(Point) 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.

DistortPoints(Point[], Point[]) 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.

ProjectManyOntoFrame(Vector3[], Point[]) ProjectManyOntoFrame(Vector3[], Point[]) ProjectManyOntoFrame(Vector3[], Point[]) ProjectManyOntoFrame(Vector3[], Point[]) ProjectManyOntoFrame(Vector3[], Point[])

Projects an array of camera space points into screen space pixel coordinates.

ProjectOntoFrame(Vector3) ProjectOntoFrame(Vector3) ProjectOntoFrame(Vector3) ProjectOntoFrame(Vector3) ProjectOntoFrame(Vector3)

Projects a camera space point into screen space pixel coordinates.

UndistortPoint(Point) 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.

UndistortPoints(Point[], Point[]) 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.

UnprojectAtUnitDepth(Point) 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.

UnprojectPixelsAtUnitDepth(Point[], Vector2[]) 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.

See Also