EyeAI
Loading...
Searching...
No Matches
DepthColormap.hpp File Reference
#include <optional>
#include <span>
#include <string>
Include dependency graph for DepthColormap.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DepthColorArraySizeMismatch
 

Functions

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

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