Additions icon indicating copy to clipboard operation
Additions copied to clipboard

Calculation of value

Open billchan opened this issue 12 years ago • 0 comments

Hello, I find the calculation of value of RGB->HSV is not correct. I change it to

*v = (max+min)/2.f;

ref: http://en.wikipedia.org/wiki/HSL_and_HSV

billchan avatar Aug 06 '13 10:08 billchan