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

Go to the source code of this file.

Functions

void extractHSL (float rgb, double &h, double &s, double &l)
void extractRGB (float rgb, uint8_t &r, uint8_t &g, uint8_t &b)
void HSLToRGB (double h, double s, double l, uint8_t &r, uint8_t &g, uint8_t &b)
void RGBToHSL (uint8_t r, uint8_t g, uint8_t b, double &h, double &s, double &l)
void writeHSL (double h, double s, double l, float &rgb)
void writeRGB (uint8_t r, uint8_t g, uint8_t b, float &rgb)

Function Documentation

void extractHSL ( float  rgb,
double &  h,
double &  s,
double &  l 
)

Definition at line 22 of file hsl_rgb_conversions.h.

void extractRGB ( float  rgb,
uint8_t &  r,
uint8_t &  g,
uint8_t &  b 
)

Definition at line 16 of file hsl_rgb_conversions.h.

void HSLToRGB ( double  h,
double  s,
double  l,
uint8_t &  r,
uint8_t &  g,
uint8_t &  b 
)

Definition at line 68 of file hsl_rgb_conversions.h.

void RGBToHSL ( uint8_t  r,
uint8_t  g,
uint8_t  b,
double &  h,
double &  s,
double &  l 
)

Definition at line 41 of file hsl_rgb_conversions.h.

void writeHSL ( double  h,
double  s,
double  l,
float &  rgb 
)

Definition at line 35 of file hsl_rgb_conversions.h.

void writeRGB ( uint8_t  r,
uint8_t  g,
uint8_t  b,
float &  rgb 
)

Definition at line 28 of file hsl_rgb_conversions.h.



hrl_head_registration
Author(s): Kelsey Hawkins
autogenerated on Wed Nov 27 2013 11:45:27