Colour Volume#

Optimal Colour Stimuli - MacAdam Limits#

colour

is_within_macadam_limits(xyY[, illuminant, ...])

Return whether given CIE xyY colourspace array is within MacAdam limits of given illuminant.

OPTIMAL_COLOUR_STIMULI_ILLUMINANTS

Illuminants Optimal Colour Stimuli.

Mesh Volume#

colour

is_within_mesh_volume(points, mesh[, tolerance])

Return whether given points are within given mesh volume using Delaunay triangulation.

Pointer’s Gamut#

colour

is_within_pointer_gamut(XYZ[, tolerance])

Return whether given CIE XYZ tristimulus values are within Pointer's Gamut volume.

RGB Volume#

colour

RGB_colourspace_limits(colourspace)

Compute given RGB colourspace volume limits in CIE L*a*b* colourspace.

RGB_colourspace_pointer_gamut_coverage_MonteCarlo(...)

Return given RGB colourspace percentage coverage of Pointer's Gamut volume using Monte Carlo method.

RGB_colourspace_visible_spectrum_coverage_MonteCarlo(...)

Return given RGB colourspace percentage coverage of visible spectrum volume using Monte Carlo method.

RGB_colourspace_volume_MonteCarlo(colourspace)

Perform given RGB colourspace volume computation using Monte Carlo method and multiprocessing.

RGB_colourspace_volume_coverage_MonteCarlo(...)

Return given RGB colourspace percentage coverage of an arbitrary volume.

Rösch-MacAdam Colour solid - Visible Spectrum#

colour

is_within_visible_spectrum(XYZ[, cmfs, ...])

Return whether given CIE XYZ tristimulus values are within the visible spectrum volume, i.e. Rösch-MacAdam colour solid, for given colour matching functions and illuminant.

Ancillary Objects

colour.volume

generate_pulse_waves(bins[, pulse_order, ...])

Generate the pulse waves of given number of bins necessary to totally stimulate the colour matching functions and produce the Rösch-MacAdam colour solid.

XYZ_outer_surface([cmfs, illuminant, ...])

Generate the Rösch-MacAdam colour solid, i.e. CIE XYZ colourspace outer surface, for given colour matching functions using multi-spectral conversion of pulse waves to CIE XYZ tristimulus values.

solid_RoschMacAdam([cmfs, illuminant, ...])

Generate the Rösch-MacAdam colour solid, i.e. CIE XYZ colourspace outer surface, for given colour matching functions using multi-spectral conversion of pulse waves to CIE XYZ tristimulus values.