You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here you can find illuminant samples. Illuminants are used in color conversions and color adaptations because the chromaticity we perceive depends on ambient illumination.
Here you can find something called Color Matching Functions. This functions are used to convert light spectrum to color samples.
The conversion from light to colors depends on a lot of parameters. For example, it's not the same to convert a color you are seeing in a small region in front of your eyes that converting to a color spread in a not so little region and in the peripheral zone of your visual field.
Moreover, sometimes you'll need more precision, and sometimes you'll need to run your code faster. Because this ColorSharp includes more and less precise versions of the most common matching functions.
Because we have many color spaces, and many of them aren't capable of representing the complete color gamut that humans can see, sometimes we have to decide which information we prefer to preserve during the color space conversion process, or how to reconstruct the missing information.
The strategy classes are very specific to concrete conversions in order to avoid polluting the method signatures.