Modifier and Type | Field and Description |
---|---|
CameraIntrinsics |
intrinsicParameters
The intrinsic parameters of this camera
|
Jama.Matrix |
rotation
The rotation of this camera in world coordinates
|
Point3d |
translation
The position of this camera in world coordinates
|
Constructor and Description |
---|
Camera() |
Modifier and Type | Method and Description |
---|---|
Jama.Matrix |
computeHomography()
Compute the homography of this camera to the z=0 plane based on it's
parameters: H = KA, where A = [r1 r2 t] and r1 and r2 are the first and
second columns of the rotation matrix, and K is the calibration matrix.
|
Point2d |
project(Point2d pt)
Project a 2d point (technically a 3d point on the z=0 world plane)
|
Point2d |
project(Point3d pt)
Project a 3d point onto the image plane
|
public CameraIntrinsics intrinsicParameters
public Jama.Matrix rotation
public Point3d translation
public Camera()
public Jama.Matrix computeHomography()
public Point2d project(Point2d pt)
pt
- the point to project in world coordinates