Jaa


CameraIntrinsics.ProjectOntoFrame(Vector3) Method

Definition

Projects a camera space point into screen space pixel coordinates.

public:
 virtual Point ProjectOntoFrame(float3 coordinate) = ProjectOntoFrame;
Point ProjectOntoFrame(float3 const& coordinate);
public Point ProjectOntoFrame(Vector3 coordinate);
function projectOntoFrame(coordinate)
Public Function ProjectOntoFrame (coordinate As Vector3) As Point

Parameters

coordinate
Vector3 Vector3

float3

The camera space point to project into screen space.

Returns

The screen space pixel coordinates.

Remarks

The 3D coordinate must be expressed in meters, using a left-handed coordinate system, with +X pointing right, +Y pointing up, and +Z pointing forward out from the camera through the center (principal point) of the image. The resulting 2D coordinate will be expressed in pixels, with the origin in the top-left corner of the image; that is, +X pointing right, and +Y pointing down.

Applies to