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: 7>#
- Image = <Type.Image: 8>#
- LineSet = <Type.LineSet: 4>#
- PointCloud = <Type.PointCloud: 1>#
- RGBDImage = <Type.RGBDImage: 9>#
- TetraMesh = <Type.TetraMesh: 10>#
- TriangleMesh = <Type.TriangleMesh: 6>#
- Unspecified = <Type.Unspecified: 0>#
- VoxelGrid = <Type.VoxelGrid: 2>#
- property name#
- property value#
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: open3d.cpu.pybind.geometry.Image) -> None
Default constructor
__init__(self: open3d.cpu.pybind.geometry.Image, arg0: open3d.cpu.pybind.geometry.Image) -> None
Copy constructor
__init__(self: open3d.cpu.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.cpu.pybind.geometry.Image) open3d.cpu.pybind.geometry.Image #
Function to flip image horizontally (from left to right)
- flip_vertical(self: open3d.cpu.pybind.geometry.Image) open3d.cpu.pybind.geometry.Image #
Function to flip image vertically (upside down)
- get_geometry_type(self)#
Returns one of registered geometry types.
- Returns:
open3d.geometry.Geometry.Type
- get_max_bound(self)#
Returns max bounds for geometry coordinates.
- Returns:
numpy.ndarray[numpy.float64[2, 1]]
- get_min_bound(self)#
Returns min bounds for geometry coordinates.
- Returns:
numpy.ndarray[numpy.float64[2, 1]]
- is_empty(self)#
Returns
True
iff the geometry is empty.- Returns:
bool
- HalfEdgeTriangleMesh = <Type.HalfEdgeTriangleMesh: 7>#
- Image = <Type.Image: 8>#
- LineSet = <Type.LineSet: 4>#
- PointCloud = <Type.PointCloud: 1>#
- RGBDImage = <Type.RGBDImage: 9>#
- TetraMesh = <Type.TetraMesh: 10>#
- TriangleMesh = <Type.TriangleMesh: 6>#
- Unspecified = <Type.Unspecified: 0>#
- VoxelGrid = <Type.VoxelGrid: 2>#