Module dlib.image.color
RGBA color space
Functions
Name | Description |
---|---|
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
Name | Description |
---|---|
Color4f
|
RGBA floating-point color representation, encapsulates Vector4f |
Enums
Name | Description |
---|---|
Channel
|
RGBA color channel |
Aliases
Name | Type | Description |
---|---|---|
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 |