cloudViewer.t.pipelines.slam.Frame#
- class cloudViewer.t.pipelines.slam.Frame#
A frame container that stores a map from keys (color, depth) to tensor images.
- __init__(*args, **kwargs)#
Overloaded function.
- __init__(self, arg0)
Copy constructor
- Parameters:
arg0 (cloudViewer.t.pipelines.slam.Frame) –
__init__(self, height, width, intrinsics, device)
- Parameters:
height (SupportsInt) – Height of an image frame.
width (SupportsInt) – Width of an image frame.
intrinsics (cloudViewer.core.Tensor) – Intrinsic matrix stored in a 3x3 Tensor.
device (cloudViewer.core.Device) – The CPU or CUDA device used for the object.
- get_data(self: cloudViewer.t.pipelines.slam.Frame, arg0: str) cloudViewer.core.Tensor#
Get a 2D tensor from a image from the given key in the map.
- get_data_as_image(self: cloudViewer.t.pipelines.slam.Frame, arg0: str) cloudViewer::t::geometry::Image#
Get a 2D image from from the given key in the map.
- height(self: cloudViewer.t.pipelines.slam.Frame) int#
- set_data(self: cloudViewer.t.pipelines.slam.Frame, arg0: str, arg1: cloudViewer.core.Tensor) None#
Set a 2D tensor to a image to the given key in the map.
- set_data_from_image(self: cloudViewer.t.pipelines.slam.Frame, arg0: str, arg1: cloudViewer::t::geometry::Image) None#
Set a 2D image to the given key in the map.
- width(self: cloudViewer.t.pipelines.slam.Frame) int#