EyeAI
Loading...
Searching...
No Matches
DepthColormap.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <optional>
4#include <span>
5#include <string>
6
7struct [[nodiscard]] DepthColorArraySizeMismatch {
10
11 [[nodiscard]] std::string to_string() const;
12 bool operator==(const DepthColorArraySizeMismatch& other) const = default;
13};
14
17[[nodiscard]] std::optional<DepthColorArraySizeMismatch> metric_depth_colormap(
18 std::span<const float> depth_values,
19 std::span<int> colormapped_pixels
20);
std::optional< DepthColorArraySizeMismatch > metric_depth_colormap(std::span< const float > depth_values, std::span< int > colormapped_pixels)
Definition DepthColormap.cpp:9
Definition DepthColormap.hpp:7
size_t depth_values_size
Definition DepthColormap.hpp:8
bool operator==(const DepthColorArraySizeMismatch &other) const =default
size_t colormapped_pixels_size
Definition DepthColormap.hpp:9
std::string to_string() const
Definition DepthColormap.cpp:31