MRPT  2.0.4
Namespaces | Enumerations | Functions
color_maps.h File Reference
#include <mrpt/img/TColor.h>
#include <mrpt/typemeta/TEnumType.h>
Include dependency graph for color_maps.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mrpt::img
 

Enumerations

enum  mrpt::img::TColormap { mrpt::img::cmNONE = -1, mrpt::img::cmGRAYSCALE = 0, mrpt::img::cmJET, mrpt::img::cmHOT }
 Different colormaps for use in mrpt::img::colormap() More...
 

Functions

void mrpt::img::hsv2rgb (float h, float s, float v, float &r, float &g, float &b)
 Transform HSV color components to RGB, all of them in the range [0,1]. More...
 
void mrpt::img::rgb2hsv (float r, float g, float b, float &h, float &s, float &v)
 Transform RGB color components to HSV, all of them in the range [0,1]. More...
 
void mrpt::img::colormap (const TColormap &color_map, const float color_index, float &r, float &g, float &b)
 Transform a float number in the range [0,1] into RGB components. More...
 
mrpt::img::TColor mrpt::img::colormap (const TColormap &color_map, const float color_index)
 
void mrpt::img::jet2rgb (const float color_index, float &r, float &g, float &b)
 Computes the RGB color components (range [0,1]) for the corresponding color index in the range [0,1] using the MATLAB 'jet' colormap. More...
 
void mrpt::img::hot2rgb (const float color_index, float &r, float &g, float &b)
 Computes the RGB color components (range [0,1]) for the corresponding color index in the range [0,1] using the MATLAB 'hot' colormap. More...
 
 MRPT_FILL_ENUM_MEMBER (mrpt::img, cmNONE)
 
 MRPT_FILL_ENUM_MEMBER (mrpt::img, cmGRAYSCALE)
 
 MRPT_FILL_ENUM_MEMBER (mrpt::img, cmJET)
 
 MRPT_FILL_ENUM_MEMBER (mrpt::img, cmHOT)
 

Function Documentation

◆ MRPT_FILL_ENUM_MEMBER() [1/4]

MRPT_FILL_ENUM_MEMBER ( mrpt::img  ,
cmNONE   
)

◆ MRPT_FILL_ENUM_MEMBER() [2/4]

MRPT_FILL_ENUM_MEMBER ( mrpt::img  ,
cmGRAYSCALE   
)

◆ MRPT_FILL_ENUM_MEMBER() [3/4]

MRPT_FILL_ENUM_MEMBER ( mrpt::img  ,
cmJET   
)

◆ MRPT_FILL_ENUM_MEMBER() [4/4]

MRPT_FILL_ENUM_MEMBER ( mrpt::img  ,
cmHOT   
)



Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020