amino  1.0-beta2
Lightweight Robot Utility Library
cv.h File Reference

Go to the source code of this file.


AA_API void aa_cv_rgb2hsv (const double rgb[3], double hsv[3])
 Convert RGB to HSV color. More...

Function Documentation

◆ aa_cv_rgb2hsv()

AA_API void aa_cv_rgb2hsv ( const double  rgb[3],
double  hsv[3] 

Convert RGB to HSV color.

rgbred-green-blue colors in range [0,1]
hsvhue-saturation-value colors, hue in radians