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
Saturation operator #6
Comments
😄 I say we start with |
Color noob question: in the LCH colorspace, adjusting Chroma is roughly equivalent to saturation, correct? |
Of course the readme states
And here we are talking about bringing in big dependencies like |
Exactly. Since saturation doesn’t have a single definition, it’s fine to refer to C as saturation. (Or possibly caturation, with a soft C.)
Yeah. I’m not eager to bring in big deps, but we are much better at doing so quickly and smoothly now than when we wrote the readme. We could push this even further. Since |
:thinking_face: |
One of the
convert
flags we want to replace is the second argument to-modulate
, which adjusts saturation. (Pulled out of #5.) Braindumping some options, in order of increasing hackiness:skimage
, for example, goes RGB → Lab → LCH and back.rio color
in a “gold standard” role instead of a “workable approximation” role – for that, you might as well write your own functions. *Though possibly not faster, given that it has a 6-partcase
, as opposed to the trig functions of the LCH route. I don’t have good intuition about numpy optimization.How do you see this, @perrygeo?
The text was updated successfully, but these errors were encountered: