ViewingConditions

In traditional color spaces, a color can be identified solely by the observer's measurement of the color. Color appearance models such as CAM16 also use information about the environment where the color was observed, known as the viewing conditions.

For example, white under the traditional assumption of a midday sun white point is accurately measured as a slightly chromatic blue by CAM16. (roughly, hue 203, chroma 3, lightness 100)

This class caches intermediate values of the CAM16 conversion process that depend only on viewing conditions, enabling speed ups.

Parameters are intermediate values of the CAM16 conversion process. Their names are shorthand for technical color science terminology, this class would not benefit from documenting them individually. A brief overview is available in the CAM16 specification, and a complete overview requires a color science textbook, such as Fairchild's Color Appearance Models.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val aw: Double
Link copied to clipboard
val c: Double
Link copied to clipboard
val fl: Double
Link copied to clipboard
Link copied to clipboard
val n: Double
Link copied to clipboard
val nbb: Double
Link copied to clipboard
val nc: Double
Link copied to clipboard
val ncb: Double
Link copied to clipboard
Link copied to clipboard
val z: Double