Colour v0.3.7 Release Notes
Release Date: 2017-12-27 // over 6 years ago-
Colour 0.3.7 - Alpha Milestone
๐ Features
API Reference
- ๐ The documentation is now hosted on Read the Docs.
Distribution
- Python 2.7 and 3.5 wheels are now available on Pypi.
colour.models
- Implement
colour.chromatically_adapted_primaries
definition performing chromatic adaptation of a given RGB colourspace primaries. (@KelSolaar) colour.REC_709_COLOURSPACE.EOCF
definition will issue a warning when used. (@KevinJW, @KelSolaar)
colour.plotting
colour.plotting.image_plot
definition can now plot single channel images. (@KelSolaar)
colour.utilities
- ๐ Implement
colour.ArbitraryPrecisionMapping
class based providing support for floating point keys by rounding them at a specific decimals count. (@KelSolaar)
๐ Fixes
colour.colorimetry.dataset
- Add missing F11 illuminant chromaticity coordinates for CIE 1931 2 Degree Standard Observer. (@henczati, @KelSolaar)
colour.models.dataset
- ACEScg colourspace was using the incorrect transfer function. (@KelSolaar)
- ACESproxy colourspace was using the incorrect primaries. (@nick-shaw, @KelSolaar)
- RED colourspaces were using the incorrect whitepoint. (@nick-shaw, @KelSolaar)
๐ Changes
colour.algebra
colour.Extrapolator1d
: (@KelSolaar)- Name:
colour.Extrapolator
- Name:
colour.models
colour.RGB_Colourspace
: (@KelSolaar)- Methods:
transfer_function
:- Name:
OECF
(Opto-electronic conversion function)
- Name:
inverse_transfer_function
:- Name:
EOCF
(Electro-optical conversion function)
- Name:
colour.XYZ_to_RGB
: (@KelSolaar)- Signature:
colour.XYZ_to_RGB(XYZ, illuminant_XYZ, illuminant_RGB, XYZ_to_RGB_matrix, chromatic_adaptation_transform='CAT02', OECF=None)
- Signature:
colour.RGB_to_XYZ
: (@KelSolaar)- Signature:
colour.RGB_to_XYZ(RGB, illuminant_RGB, illuminant_XYZ, RGB_to_XYZ_matrix, chromatic_adaptation_transform='CAT02', EOCF=None)
- Signature:
colour.XYZ_to_sRGB
: (@KelSolaar)- Signature:
colour.XYZ_to_sRGB(XYZ, illuminant=RGB_COLOURSPACES.get('sRGB').whitepoint, chromatic_adaptation_transform='CAT02', apply_OECF=True)
- Signature:
colour.sRGB_to_XYZ
: (@KelSolaar)- Signature:
colour.sRGB_to_XYZ(RGB, illuminant=RGB_COLOURSPACES.get('sRGB').whitepoint, chromatic_adaptation_method='CAT02', apply_EOCF=True)
- Signature:
colour.plotting
colour.plotting.single_transfer_function_plot
: (@KelSolaar)- Name:
colour.plotting.single_conversion_function_plot
- Signature:
colour.plotting.single_conversion_function_plot(colourspace='Rec. 709', EOCF=False, **kwargs)
- Name:
colour.plotting.multi_transfer_function_plot
: (@KelSolaar)- Name:
colour.plotting.multi_conversion_function_plot
- Signature:
colour.plotting.multi_conversion_function_plot(colourspaces, EOCF=False, **kwargs)
- Name:
colour.plotting.colour_parameter
: (@KelSolaar)- Remove
- Note:
colour.plotting.ColourParameter
class should be used instead.