![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Color space conversion. More...
#include <ecvColorTypes.h>
Static Public Member Functions | |
| static Rgb | hsl2rgb (float H, float S, float L) |
| Converts a HSL color to RGB color space. More... | |
| static Rgb | hsv2rgb (float H, float S, float V) |
| Converts a HSV color to RGB color space. More... | |
Static Protected Member Functions | |
| static float | hue2rgb (float m1, float m2, float hue) |
| Method used by hsl2rgb. More... | |
Color space conversion.
Definition at line 258 of file ecvColorTypes.h.
|
inlinestatic |
Converts a HSL color to RGB color space.
| H | [out] hue [0;360[ |
| S | [out] saturation [0;1] |
| L | [out] light [0;1] |
Definition at line 266 of file ecvColorTypes.h.
References hue2rgb(), and ecvColor::MAX.
Referenced by FacetsClassifier::GenerateSubfamilyColor().
|
inlinestatic |
Converts a HSV color to RGB color space.
| H | [out] hue [0;360[ |
| S | [out] saturation [0;1] |
| V | [out] value [0;1] |
Definition at line 286 of file ecvColorTypes.h.
References ecvColor::RgbTpl< Type >::b, ecvColor::RgbTpl< Type >::g, ecvColor::MAX, and ecvColor::RgbTpl< Type >::r.
Referenced by ccColorFromScalarDlg::onApply(), and ccColorFromScalarDlg::updateColormaps().
|
inlinestaticprotected |