Skip to content

HSV instead of RGB for calculateDistance #12

@hackerb9

Description

@hackerb9

It's oft been remarked that calculating the "distance" between two colors in RGB space doesn't match human visual perceptions very well. There are many other color spaces that work better, but HSV (hue, saturation, value) is an easy one to use and could dramatically improve the results without much work. The relevant code to change is, I believe, calculateDistance at the end of ColorData.java.

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