Functions
rgbhsv.h File Reference
#include <iostream>
#include <cstdlib>
#include <cmath>
Include dependency graph for rgbhsv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void HSVtoRGB (float &fR, float &fG, float &fB, float &fH, float &fS, float &fV)
 Convert HSV to RGB color space.

Function Documentation

void HSVtoRGB ( float &  fR,
float &  fG,
float &  fB,
float &  fH,
float &  fS,
float &  fV 
)

Convert HSV to RGB color space.

Converts a given set of HSV values `h', `s', `v' into RGB coordinates. The output RGB values are in the range [0, 1], and the input HSV values are in the ranges h = [0, 360], and s, v = [0, 1], respectively.

Parameters:
fRRed component, used as output, range: [0, 1]
fGGreen component, used as output, range: [0, 1]
fBBlue component, used as output, range: [0, 1]
fHHue component, used as input, range: [0, 360]
fSHue component, used as input, range: [0, 1]
fVHue component, used as input, range: [0, 1]

Definition at line 51 of file rgbhsv.h.



segbot_led
Author(s): Pato Lankenau , Rolando Fernandez
autogenerated on Thu Jun 6 2019 21:37:07