open3d.t.geometry.RGBDImage¶
-
class
open3d.t.geometry.
RGBDImage
¶ RGBDImage is a pair of color and depth images. For most procesing, the image pair should be aligned (same viewpoint and resolution).
-
__init__
(*args, **kwargs)¶ Overloaded function.
- __init__(self)
Construct an empty RGBDImage.
- __init__(self, color, depth, aligned=True)
Parameterized constructor
- Parameters
color (open3d.t.geometry.Image) – The color image.
depth (open3d.t.geometry.Image) – The depth image.
aligned (bool, optional, default=True) – Are the two images aligned (same viewpoint and resolution)?
-
are_aligned
(self: open3d.cpu.pybind.t.geometry.RGBDImage) → bool¶ Are the depth and color images aligned (same viewpoint and resolution)?
-
clear
(self)¶ Clear stored data.
- Returns
open3d.t.geometry.RGBDImage
-
clone
(self: open3d.cpu.pybind.t.geometry.RGBDImage) → open3d.cpu.pybind.t.geometry.RGBDImage¶ Returns a copy of the RGBDImage on the same device.
-
cpu
(self: open3d.cpu.pybind.t.geometry.RGBDImage) → open3d.cpu.pybind.t.geometry.RGBDImage¶ Transfer the RGBDImage to CPU. If the RGBDImage is already on CPU, no copy will be performed.
-
cuda
(self: open3d.cpu.pybind.t.geometry.RGBDImage, device_id: int = 0) → open3d.cpu.pybind.t.geometry.RGBDImage¶ Transfer the RGBDImage to a CUDA device. If the RGBDImage is already on the specified CUDA device, no copy will be performed.
-
get_max_bound
(self)¶ Compute max 2D coordinates for the data.
- Returns
open3d.core.Tensor
-
get_min_bound
(self)¶ Compute min 2D coordinates for the data (always {0, 0}).
- Returns
open3d.core.Tensor
-
is_empty
(self)¶ Is any data stored?
- Returns
bool
-
to
(self: open3d.cpu.pybind.t.geometry.RGBDImage, device: open3d.cpu.pybind.core.Device, copy: bool = False) → open3d.cpu.pybind.t.geometry.RGBDImage¶ Transfer the RGBDImage to a specified device.
-
to_legacy_rgbd_image
(self)¶ Convert to legacy RGBDImage type.
- Returns
open3d.geometry.RGBDImage
-
property
aligned_
¶ Are the depth and color images aligned (same viewpoint and resolution)?
-
property
color
¶ The color image.
-
property
depth
¶ The depth image.
-