EyeAI
Loading...
Searching...
No Matches
DepthColormap.cpp File Reference
Include dependency graph for DepthColormap.cpp:

Functions

std::optional< DepthColorArraySizeMismatchmetric_depth_colormap (std::span< const float > depth_values, std::span< int > colormapped_pixels)
 

Variables

constexpr std::array< int, 256 > INFERNO_COLORS
 

Function Documentation

◆ metric_depth_colormap()

std::optional< DepthColorArraySizeMismatch > metric_depth_colormap ( std::span< const float > depth_values,
std::span< int > colormapped_pixels )
nodiscard

computes the int representation of the inferno colormap of the depth at each pixel

Variable Documentation

◆ INFERNO_COLORS

std::array<int, 256> INFERNO_COLORS
constexpr