Module dlib.image.color

RGBA color space

Functions

NameDescription
alphaOver(c1, c2) Blend two colors taking transparency into account
color3(hex) 24-bit integer color unpacking
color4(hex) 32-bit integer color unpacking
packNormal(n) Encode a normal vector to color

Structs

NameDescription
Color4f RGBA floating-point color representation, encapsulates Vector4f

Enums

NameDescription
Channel RGBA color channel

Aliases

NameTypeDescription
Color4 Vector!(ushort,4) RGBA 16-bit integer color representation (a vector of ushorts)
ColorRGBA Vector!(ushort,4) RGBA 16-bit integer color representation (a vector of ushorts)
ColorRGBAf Color4f RGBA floating-point color representation, encapsulates Vector4f