open3d.t.pipelines.slam.Frame#

class open3d.t.pipelines.slam.Frame#

A frame container that stores a map from keys (color, depth) to tensor images.

__init__(*args, **kwargs)#

Overloaded function.

  1. __init__(self, arg0)

    Copy constructor

Parameters:

arg0 (open3d.t.pipelines.slam.Frame) –

  1. __init__(self, height, width, intrinsics, device)

Parameters:
  • height (int) – Height of an image frame.

  • width (int) – Width of an image frame.

  • intrinsics (open3d.core.Tensor) – Intrinsic matrix stored in a 3x3 Tensor.

  • device (open3d.core.Device) – The CPU or CUDA device used for the object.

get_data(self: open3d.cpu.pybind.t.pipelines.slam.Frame, arg0: str) open3d.cpu.pybind.core.Tensor#

Get a 2D tensor from a image from the given key in the map.

get_data_as_image(self: open3d.cpu.pybind.t.pipelines.slam.Frame, arg0: str) open3d.cpu.pybind.t.geometry.Image#

Get a 2D image from from the given key in the map.

height(self: open3d.cpu.pybind.t.pipelines.slam.Frame) int#
set_data(self: open3d.cpu.pybind.t.pipelines.slam.Frame, arg0: str, arg1: open3d.cpu.pybind.core.Tensor) None#

Set a 2D tensor to a image to the given key in the map.

set_data_from_image(self: open3d.cpu.pybind.t.pipelines.slam.Frame, arg0: str, arg1: open3d.cpu.pybind.t.geometry.Image) None#

Set a 2D image to the given key in the map.

width(self: open3d.cpu.pybind.t.pipelines.slam.Frame) int#