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(value)#
Enum class for Geometry types.
- HalfEdgeTriangleMesh = 7#
- Image = 8#
- LineSet = 4#
- PointCloud = 1#
- RGBDImage = 9#
- TetraMesh = 10#
- TriangleMesh = 6#
- Unspecified = 0#
- VoxelGrid = 2#
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: open3d.geometry.Image) -> None
Default constructor
__init__(self: open3d.geometry.Image, arg0: open3d.geometry.Image) -> None
Copy constructor
__init__(self: open3d.geometry.Image, arg0: typing_extensions.Buffer) -> None
- clear(self: open3d.geometry.Geometry) open3d.geometry.Geometry #
Clear all elements in the geometry.
- Returns:
open3d.geometry.Geometry
- create_pyramid(self: open3d.geometry.Image, num_of_levels: SupportsInt, with_gaussian_filter: bool) list[open3d.geometry.Image] #
Function to create ImagePyramid
- Parameters:
num_of_levels (SupportsInt) –
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: open3d.geometry.Geometry) int #
Returns whether the geometry is 2D or 3D.
- Returns:
int
- filter(self: open3d.geometry.Image, filter_type: open3d.geometry.ImageFilterType) open3d.geometry.Image #
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: collections.abc.Sequence[open3d.geometry.Image], filter_type: open3d.geometry.ImageFilterType) list[open3d.geometry.Image] #
Function to filter ImagePyramid
- Parameters:
image_pyramid (collections.abc.Sequence[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.geometry.Image) open3d.geometry.Image #
Function to flip image horizontally (from left to right)
- flip_vertical(self: open3d.geometry.Image) open3d.geometry.Image #
Function to flip image vertically (upside down)
- get_geometry_type(self: open3d.geometry.Geometry) open3d.geometry.Geometry.Type #
Returns one of registered geometry types.
- Returns:
open3d.geometry.Geometry.Type
- get_max_bound(self: open3d.geometry.Geometry2D) Annotated[numpy.typing.NDArray[numpy.float64], '[2, 1]'] #
Returns max bounds for geometry coordinates.
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float64], “[2, 1]”]
- get_min_bound(self: open3d.geometry.Geometry2D) Annotated[numpy.typing.NDArray[numpy.float64], '[2, 1]'] #
Returns min bounds for geometry coordinates.
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float64], “[2, 1]”]
- is_empty(self: open3d.geometry.Geometry) bool #
Returns
True
iff the geometry is empty.- Returns:
bool
- HalfEdgeTriangleMesh = 7#
- Image = 8#
- LineSet = 4#
- PointCloud = 1#
- RGBDImage = 9#
- TetraMesh = 10#
- TriangleMesh = 6#
- Unspecified = 0#
- VoxelGrid = 2#