Open3D (C++ API)
0.12.0
|
RGBDImage A pair of color and depth images. More...
#include <RGBDImage.h>
Public Member Functions | |
RGBDImage () | |
Default Comnstructor. More... | |
RGBDImage (const Image &color, const Image &depth, bool aligned=true) | |
Parameterized Constructor. More... | |
~RGBDImage () override | |
RGBDImage & | Clear () override |
Clear stored data. More... | |
bool | IsEmpty () const override |
Is any data stored? More... | |
bool | AreAligned () const |
Are the depth and color images aligned (same viewpoint and resolution)? More... | |
core::Tensor | GetMinBound () const |
Compute min 2D coordinates for the data (always {0,0}). More... | |
core::Tensor | GetMaxBound () const |
Compute max 2D coordinates for the data. More... | |
open3d::geometry::RGBDImage | ToLegacyRGBDImage () const |
Convert to the legacy RGBDImage format. More... | |
std::string | ToString () const |
Text description. More... | |
Public Member Functions inherited from open3d::t::geometry::Geometry | |
virtual | ~Geometry () |
GeometryType | GetGeometryType () const |
Returns one of registered geometry types. More... | |
int | Dimension () const |
Returns whether the geometry is 2D or 3D. More... | |
std::string | GetName () const |
void | SetName (const std::string &name) |
Data Fields | |
Image | color_ |
The color image. More... | |
Image | depth_ |
The depth image. More... | |
bool | aligned_ = true |
Are the depth and color images aligned (same viewpoint and resolution)? More... | |
Additional Inherited Members | |
Public Types inherited from open3d::t::geometry::Geometry | |
enum | GeometryType { GeometryType::Unspecified = 0, GeometryType::PointCloud = 1, GeometryType::VoxelGrid = 2, GeometryType::Octree = 3, GeometryType::LineSet = 4, GeometryType::MeshBase = 5, GeometryType::TriangleMesh = 6, GeometryType::HalfEdgeTriangleMesh = 7, GeometryType::Image = 8, GeometryType::RGBDImage = 9, GeometryType::TetraMesh = 10, GeometryType::OrientedBoundingBox = 11, GeometryType::AxisAlignedBoundingBox = 12 } |
Specifies possible geometry types. More... | |
Protected Member Functions inherited from open3d::t::geometry::Geometry | |
Geometry (GeometryType type, int dimension) | |
Parameterized Constructor. More... | |
RGBDImage A pair of color and depth images.
For most procesing, the image pair should be aligned (same viewpoint and resolution).
|
inline |
Default Comnstructor.
|
inline |
Parameterized Constructor.
color | The color image. |
depth | The depth image. |
aligned | Are the two images aligned (same viewpoint and resolution)? |
|
inlineoverride |
|
inline |
Are the depth and color images aligned (same viewpoint and resolution)?
|
overridevirtual |
Clear stored data.
Implements open3d::t::geometry::Geometry.
|
inline |
Compute max 2D coordinates for the data.
|
inline |
Compute min 2D coordinates for the data (always {0,0}).
|
overridevirtual |
Is any data stored?
Implements open3d::t::geometry::Geometry.
|
inline |
Convert to the legacy RGBDImage format.
std::string open3d::t::geometry::RGBDImage::ToString | ( | ) | const |
Text description.
bool open3d::t::geometry::RGBDImage::aligned_ = true |
Are the depth and color images aligned (same viewpoint and resolution)?
Image open3d::t::geometry::RGBDImage::color_ |
The color image.
Image open3d::t::geometry::RGBDImage::depth_ |
The depth image.