Colour Volume

Optimal Colour Stimuli - MacAdam Limits

colour

is_within_macadam_limits(xyY, illuminant[, …])

Returns if 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])

Returns if given points are within given mesh volume using Delaunay triangulation.

Pointer’s Gamut

colour

is_within_pointer_gamut(XYZ[, tolerance])

Returns if given CIE XYZ tristimulus values are within Pointer’s Gamut volume.

RGB Volume

colour

RGB_colourspace_limits(colourspace[, illuminant])

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

RGB_colourspace_pointer_gamut_coverage_MonteCarlo(…)

Returns given RGB colourspace percentage coverage of Pointer’s Gamut volume using Monte Carlo method.

RGB_colourspace_visible_spectrum_coverage_MonteCarlo(…)

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

RGB_colourspace_volume_MonteCarlo(colourspace)

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

RGB_colourspace_volume_coverage_MonteCarlo(…)

Returns given RGB colourspace percentage coverage of an arbitrary volume.

Visible Spectrum

colour

is_within_visible_spectrum(XYZ[, cmfs, …])

Returns if given CIE XYZ tristimulus values are within visible spectrum volume / given colour matching functions volume.

Ancillary Objects

colour.volume

generate_pulse_waves(bins)

Generates the pulse waves of given number of bins necessary to totally stimulate the colour matching functions.

XYZ_outer_surface([cmfs, illuminant])

Generates the CIE XYZ colourspace outer surface for given colour matching functions using multi-spectral conversion of pulse waves to CIE XYZ tristimulus values.