|
Open3D (C++ API)
0.17.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... | |
| core::Device | GetDevice () const override |
| Returns the device of the geometry. 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... | |
| RGBDImage | To (const core::Device &device, bool copy=false) const |
| RGBDImage | Clone () const |
| Returns copy of the RGBD image on the same device. More... | |
| open3d::geometry::RGBDImage | ToLegacy () 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 () |
| virtual Geometry & | Clear ()=0 |
| Clear all elements in the geometry. More... | |
| virtual bool | IsEmpty () const =0 |
| Returns true iff the geometry is empty. More... | |
| virtual core::Device | GetDevice () const =0 |
| Returns the device of the geometry. More... | |
| 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) |
Public Member Functions inherited from open3d::core::IsDevice | |
| IsDevice ()=default | |
| virtual | ~IsDevice ()=default |
| virtual core::Device | GetDevice () const =0 |
| bool | IsCPU () const |
| bool | IsCUDA () const |
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 class | GeometryType { Unspecified = 0 , PointCloud = 1 , VoxelGrid = 2 , Octree = 3 , LineSet = 4 , MeshBase = 5 , TriangleMesh = 6 , HalfEdgeTriangleMesh = 7 , Image = 8 , RGBDImage = 9 , TetraMesh = 10 , OrientedBoundingBox = 11 , 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 processing, 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 |
Returns copy of the RGBD image on the same device.
|
inlineoverridevirtual |
Returns the device of the geometry.
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 |
Transfer the RGBD image to a specified device.
| device | The targeted device to convert to. |
| copy | If true, a new image is always created; if false, the copy is avoided when the original image is already on the target device. |
|
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.