Open3D (C++ API)
0.14.1
|
#include <TSDFVoxel.h>
Public Member Functions | |
OPEN3D_HOST_DEVICE float | GetTSDF () |
OPEN3D_HOST_DEVICE float | GetWeight () |
OPEN3D_HOST_DEVICE float | GetR () |
OPEN3D_HOST_DEVICE float | GetG () |
OPEN3D_HOST_DEVICE float | GetB () |
OPEN3D_HOST_DEVICE void | Integrate (float dsdf) |
OPEN3D_HOST_DEVICE void | Integrate (float dsdf, float dr, float dg, float db) |
Static Public Member Functions | |
static bool | HasColor () |
Data Fields | |
float | tsdf |
uint16_t | weight |
uint16_t | r |
uint16_t | g |
uint16_t | b |
Static Public Attributes | |
static const uint16_t | kMaxUint16 = 65535 |
static constexpr float | kColorFactor = 255.0f |
12-byte voxel structure. uint16_t for colors and weights, sacrifices minor accuracy but saves memory. Basically, kColorFactor=255.0 extends the range of the uint8_t input color to the range of uint16_t where weight average is computed. In practice, it preserves most of the color details.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
uint16_t open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::b |
uint16_t open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::g |
|
static |
|
static |
uint16_t open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::r |
float open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::tsdf |
uint16_t open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::weight |