SphericalCamera.project_point#
- SphericalCamera.project_point(P: ndarray | float | int | list[float | int] | tuple[float | int, ...], pose: SE3 | None = None, objpose: SE3 | None = None) ndarray[source][source]#
Project 3D points to image plane
- Parameters:
- Returns:
image plane points
- Return type:
ndarray(2,n)
Project world points to the spherical camera image plane.
World points are given as a 1D array or the columns of a 2D array of Euclidean coordinates. The computed image plane coordinates are in polar form \((\phi, \theta)\) (longitude, colatitude), and given as a 1D array or the corresponding columns of a 2D array.
If
poseis specified it is used for the camera pose instead of the attributepose. The object’s attribute is not updated.The points
Pare by default with respect to the world frame, but they can be transformed by specifyingobjpose.See also