CatadioptricCamera.project_point#
- CatadioptricCamera.project_point(P: ndarray | float | int | list[float | int] | tuple[float | int, ...], pose: SE3 | None = None, objpose: SE3 | None = None) ndarray[source]#
Project 3D points to image plane
- Parameters:
P (array_like(3), array_like(3,n)) – 3D world point or points
pose (
SE3, optional) – camera pose with respect to the world frame, defaults to camera’sposeattributeobjpose (
SE3, optional) – 3D point reference frame, defaults to world framevisibility (bool) – test if points are visible, default False
- Raises:
ValueError – [description]
- Returns:
image plane points
- Return type:
ndarray(2,n)
Project world points to the catadioptric 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 Euclidean 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.- Seealso: