8#ifndef SE_COLOUR_UTILS_HPP
9#define SE_COLOUR_UTILS_HPP
23static const std::vector<RGB>
scale = {{102, 194, 165},
78#include "impl/colour_utils_impl.hpp"
static RGB blend(const RGB a, const RGB b, const float alpha)
Blend colors a and b based on the value of alpha.
static const std::vector< RGB > scale
The colours used for the various integration scales.
Definition colour_utils.hpp:23
Helper wrapper to allocate and de-allocate octants in the octree.
Definition bounded_vector.hpp:14
void depth_to_rgba(RGBA *depth_RGBA_image_data, const float *depth_image_data, const Eigen::Vector2i &depth_image_res, const float min_depth, const float max_depth)
Convert a depth image to an RGBA image to allow visualizing it.
static RGB scale_colour(const int scale)
Return the color from se::colours::scale that should be used to visualize the supplied scale.
A colour represented as a Red-Green-Blue-Alpha tuple with 8-bits per channel.
Definition rgba.hpp:15
A colour represented as a Red-Green-Blue tuple with 8-bits per channel.
Definition rgb.hpp:18