open3d.t.geometry.RGBDImage

class open3d.t.geometry.RGBDImage

RGBDImage is a pair of color and depth images. For most processing, the image pair should be aligned (same viewpoint and resolution).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: open3d.t.geometry.RGBDImage) -> None

    Construct an empty RGBDImage.

  2. __init__(self: open3d.t.geometry.RGBDImage, color: open3d.t.geometry.Image, depth: open3d.t.geometry.Image, aligned: bool = True) -> None

    Parameterized constructor

Parameters:
are_aligned(self: open3d.t.geometry.RGBDImage) bool

Are the depth and color images aligned (same viewpoint and resolution)?

clear(self: open3d.t.geometry.RGBDImage) open3d.t.geometry.RGBDImage

Clear stored data.

Returns:

open3d.t.geometry.RGBDImage

clone(self: open3d.t.geometry.RGBDImage) open3d.t.geometry.RGBDImage

Returns a copy of the RGBDImage on the same device.

cpu(self: open3d.t.geometry.RGBDImage) open3d.t.geometry.RGBDImage

Transfer the RGBD image to CPU. If the RGBD image is already on CPU, no copy will be performed.

cuda(self: open3d.t.geometry.RGBDImage, device_id: int = 0) open3d.t.geometry.RGBDImage

Transfer the RGBD image to a CUDA device. If the RGBD image is already on the specified CUDA device, no copy will be performed.

get_max_bound(self: open3d.t.geometry.RGBDImage) open3d.core.Tensor

Compute max 2D coordinates for the data.

Returns:

open3d.core.Tensor

get_min_bound(self: open3d.t.geometry.RGBDImage) open3d.core.Tensor

Compute min 2D coordinates for the data (always {0, 0}).

Returns:

open3d.core.Tensor

is_empty(self: open3d.t.geometry.RGBDImage) bool

Is any data stored?

Returns:

bool

to(self: open3d.t.geometry.RGBDImage, device: open3d.core.Device, copy: bool = False) open3d.t.geometry.RGBDImage

Transfer the RGBDImage to a specified device.

to_legacy(self: open3d.t.geometry.RGBDImage) open3d.geometry.RGBDImage

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.

property device

Returns the device of the geometry.

property is_cpu

Returns true if the geometry is on CPU.

property is_cuda

Returns true if the geometry is on CUDA.