Color spaces module

Management and conversion between color spaces

Contents

Classes

class dip::ColorSpaceConverter abstract
Base class for conversion between two color spaces.
class dip::ColorSpaceManager
An object of this class is used to convert images between color spaces.

Aliases

using dip::XYZ = std::array<dfloat, 3>
An XYZ triplet, used to specify a white point for color spaces.
using dip::xy = std::array<dfloat, 2>
A color, as (x,y) chromaticity coordinates, used to specify a white point for color spaces.
using dip::XYZMatrix = std::array<dfloat, 9>
XYZ matrix (3x3 matrix, column-major order) for conversion between RGB and XYZ. Computed from a dip::XYZ triplet.