Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empirical testing of color sorting algorithm #6

Open
oaustegard opened this issue Mar 31, 2022 · 3 comments
Open

Empirical testing of color sorting algorithm #6

oaustegard opened this issue Mar 31, 2022 · 3 comments
Assignees

Comments

@oaustegard
Copy link
Owner

oaustegard commented Mar 31, 2022

"Does it look right, like a rainbow?"

@oaustegard oaustegard self-assigned this Mar 31, 2022
@oaustegard
Copy link
Owner Author

Based on the findings in the sorted_colors.py notebook, I believe the HSP Lightness algorithm slightly outperforms the Relative Luminance algorithm:
image

Need to test further with extracted colors from albums rather than simple individual colors

@oaustegard
Copy link
Owner Author

Another run of random colors: HSP still looks "smoother"
image

@oaustegard
Copy link
Owner Author

oaustegard commented Apr 9, 2022

And even more so when doubling the number of random colors to 400 - left with 12 hue bins (30º each), right with 10 (36º each)-- kinda like the 10 better? (again need to test with images):

image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant