open3d.camera.PinholeCameraIntrinsic¶
-
class
open3d.camera.PinholeCameraIntrinsic¶ PinholeCameraIntrinsic class stores intrinsic camera matrix, and image height and width.
-
__init__(*args, **kwargs)¶ Overloaded function.
__init__(self: open3d.camera.PinholeCameraIntrinsic) -> None
Default constructor
__init__(self: open3d.camera.PinholeCameraIntrinsic, arg0: open3d.camera.PinholeCameraIntrinsic) -> None
Copy constructor
__init__(self: open3d.camera.PinholeCameraIntrinsic, width: int, height: int, fx: float, fy: float, cx: float, cy: float) -> None
__init__(self: open3d.camera.PinholeCameraIntrinsic, param: open3d::camera::PinholeCameraIntrinsicParameters) -> None
-
get_focal_length(self: open3d.camera.PinholeCameraIntrinsic) → Tuple[float, float]¶ Returns the focal length.
-
get_principal_point(self: open3d.camera.PinholeCameraIntrinsic) → Tuple[float, float]¶ Returns the principle point.
-
get_skew(self: open3d.camera.PinholeCameraIntrinsic) → float¶ Returns the skew.
-
is_valid(self: open3d.camera.PinholeCameraIntrinsic) → bool¶ Returns True iff both the width and height are greater than 0.
-
set_intrinsics(self: open3d.camera.PinholeCameraIntrinsic, width: int, height: int, fx: float, fy: float, cx: float, cy: float) → None¶ Set camera intrinsic parmeters.
-
property
height¶ Height of the image.
- Type
int
-
property
intrinsic_matrix¶ Intrinsic camera matrix
[[fx, 0, cx], [0, fy, cy], [0, 0, 1]]- Type
3x3 numpy array
-
property
width¶ Width of the image.
- Type
int
-