oaustegard / Lottie_Playlist

MIT License
2 stars 0 forks source link

Empirical testing of color sorting algorithm #6

Open oaustegard opened 2 years ago

oaustegard commented 2 years ago

"Does it look right, like a rainbow?"

oaustegard commented 2 years ago

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 commented 2 years ago

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

oaustegard commented 2 years ago

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