MRPT  1.9.9
color_maps.h File Reference
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...
 
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 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020