Function reach::computeHeatMapColors(const std::vector<float>&, float, float)
Defined in File types.h
Function Documentation
-
Eigen::MatrixX3f reach::computeHeatMapColors(const std::vector<float> &scores, float hue_low_score = 270.0f, float hue_high_score = 0.0f)
Computes the colors for a heat map based on the input scores.
- Parameters:
scores – Vector of reach target scores in the range [0, 1]
- Returns:
An array of RGB colors on [0, 1] for each channel