UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::Lab< T, Flags > Struct Template Reference

Oklab perceptual color. More...

Detailed Description

template<class T = float, ColorFlags Flags = ColorFlags::None>
requires (std::integral<T> || std::floating_point<T>)
struct ufo::Lab< T, Flags >

Oklab perceptual color.

Template Parameters
TType of the color channels (default: float).
FlagsColor flags (default: ColorFlags::None).

T must satisfy std::integral or std::floating_point. Oklab (Björn Ottosson, 2020) is a perceptually uniform color space with lightness and two opponent-color axes (a: green–red, b: blue–yellow). Channel values are in [0, 1] for floating-point types and [TYPE_MIN, TYPE_MAX] for integer types.

Definition at line 77 of file lab.hpp.


The documentation for this struct was generated from the following file: