Loading [MathJax]/extensions/TeX/AMSsymbols.js
Open3D (C++ API)  0.14.1
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Data Fields | Static Public Attributes
open3d::t::geometry::kernel::tsdf::ColoredVoxel16i Struct Reference

#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
 

Detailed Description

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.

Member Function Documentation

◆ GetB()

OPEN3D_HOST_DEVICE float open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::GetB ( )
inline

◆ GetG()

OPEN3D_HOST_DEVICE float open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::GetG ( )
inline

◆ GetR()

OPEN3D_HOST_DEVICE float open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::GetR ( )
inline

◆ GetTSDF()

OPEN3D_HOST_DEVICE float open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::GetTSDF ( )
inline

◆ GetWeight()

OPEN3D_HOST_DEVICE float open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::GetWeight ( )
inline

◆ HasColor()

static bool open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::HasColor ( )
inlinestatic

◆ Integrate() [1/2]

OPEN3D_HOST_DEVICE void open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::Integrate ( float  dsdf)
inline

◆ Integrate() [2/2]

OPEN3D_HOST_DEVICE void open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::Integrate ( float  dsdf,
float  dr,
float  dg,
float  db 
)
inline

Field Documentation

◆ b

uint16_t open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::b

◆ g

uint16_t open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::g

◆ kColorFactor

constexpr float open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::kColorFactor = 255.0f
static

◆ kMaxUint16

const uint16_t open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::kMaxUint16 = 65535
static

◆ r

uint16_t open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::r

◆ tsdf

float open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::tsdf

◆ weight

uint16_t open3d::t::geometry::kernel::tsdf::ColoredVoxel16i::weight

The documentation for this struct was generated from the following file: