dlib ~master (2021-07-06T21:20:15Z)
Home
Dub
Repo
Color4f.toLinear
dlib
image
color
Color4f
Converts color from gamma space to linear space
struct
Color4f
Color4f
toLinear
(
float
gamma
= 2.2f
)
Meta
Source
See Implementation
dlib
image
color
Color4f
aliases
luminance
constructors
this
functions
convert
luminance601
luminance709
opAssign
opBinary
opCmp
toGamma
toLinear
properties
clamped
inverse
static functions
zero
variables
vec
Converts color from gamma space to linear space