Skip to content
This repository was archived by the owner on Nov 18, 2019. It is now read-only.
This repository was archived by the owner on Nov 18, 2019. It is now read-only.

Calculation of value #1

Description

@billchan

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions