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.
ILLUMINANTS_OPTIMAL_COLOUR_STIMULI 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 Lab 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.