open3d.geometry.Image¶
-
class
open3d.geometry.
Image
¶ The image class stores image with customizable width, height, num of channels and bytes per channel.
-
class
Type
¶ Enum class for Geometry types.
-
HalfEdgeTriangleMesh
= Type.HalfEdgeTriangleMesh¶
-
Image
= Type.Image¶
-
LineSet
= Type.LineSet¶
-
PointCloud
= Type.PointCloud¶
-
RGBDImage
= Type.RGBDImage¶
-
TetraMesh
= Type.TetraMesh¶
-
TriangleMesh
= Type.TriangleMesh¶
-
Unspecified
= Type.Unspecified¶
-
VoxelGrid
= Type.VoxelGrid¶
-
-
__init__
(*args, **kwargs)¶ Overloaded function.
__init__(self: open3d.open3d_pybind.geometry.Image) -> None
Default constructor
__init__(self: open3d.open3d_pybind.geometry.Image, arg0: open3d.open3d_pybind.geometry.Image) -> None
Copy constructor
__init__(self: open3d.open3d_pybind.geometry.Image, arg0: buffer) -> None
-
clear
(self)¶ Clear all elements in the geometry.
- Returns
open3d.geometry.Geometry
-
create_pyramid
(self, num_of_levels, with_gaussian_filter)¶ Function to create ImagePyramid
- Parameters
num_of_levels (int) –
with_gaussian_filter (bool) – When
True
, image in the pyramid will first be filtered by a 3x3 Gaussian kernel before downsampling.
- Returns
List[open3d.geometry.Image]
-
dimension
(self)¶ Returns whether the geometry is 2D or 3D.
- Returns
int
-
filter
(self, filter_type)¶ Function to filter Image
- Parameters
filter_type (open3d.geometry.ImageFilterType) – The filter type to be applied.
- Returns
open3d.geometry.Image
-
static
filter_pyramid
(image_pyramid, filter_type)¶ Function to filter ImagePyramid
- Parameters
image_pyramid (List[open3d.geometry.Image]) – The ImagePyramid object
filter_type (open3d.geometry.ImageFilterType) – The filter type to be applied.
- Returns
List[open3d.geometry.Image]
-
flip_horizontal
(self: open3d.open3d_pybind.geometry.Image) → open3d.open3d_pybind.geometry.Image¶ Function to flip image horizontally (from left to right)
-
flip_vertical
(self: open3d.open3d_pybind.geometry.Image) → open3d.open3d_pybind.geometry.Image¶ Function to flip image vertically (upside down)
-
get_geometry_type
(self)¶ Returns one of registered geometry types.
- Returns
open3d.geometry.Geometry.GeometryType
-
get_max_bound
(self)¶ Returns max bounds for geometry coordinates.
- Returns
numpy.ndarray[float64[2, 1]]
-
get_min_bound
(self)¶ Returns min bounds for geometry coordinates.
- Returns
numpy.ndarray[float64[2, 1]]
-
is_empty
(self)¶ Returns
True
iff the geometry is empty.- Returns
bool
-
HalfEdgeTriangleMesh
= Type.HalfEdgeTriangleMesh¶
-
Image
= Type.Image¶
-
LineSet
= Type.LineSet¶
-
PointCloud
= Type.PointCloud¶
-
RGBDImage
= Type.RGBDImage¶
-
TetraMesh
= Type.TetraMesh¶
-
TriangleMesh
= Type.TriangleMesh¶
-
Unspecified
= Type.Unspecified¶
-
VoxelGrid
= Type.VoxelGrid¶
-
class