Colour 0.3.7

@KelSolaar KelSolaar released this Dec 27, 2017 · 937 commits to develop since this release

Colour 0.3.7 - Alpha Milestone

Features

API Reference

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

Changes

colour.algebra

  • colour.Extrapolator1d: (@KelSolaar)
    • Name: colour.Extrapolator

colour.models

  • colour.RGB_Colourspace: (@KelSolaar)
    • Methods:
      • transfer_function:
        • Name: OECF (Opto-electronic conversion function)
      • inverse_transfer_function:
        • Name: EOCF (Electro-optical conversion function)
  • 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)
  • 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)
  • colour.XYZ_to_sRGB: (@KelSolaar)
    • Signature: colour.XYZ_to_sRGB(XYZ, illuminant=RGB_COLOURSPACES.get('sRGB').whitepoint, chromatic_adaptation_transform='CAT02', apply_OECF=True)
  • colour.sRGB_to_XYZ: (@KelSolaar)
    • Signature: colour.sRGB_to_XYZ(RGB, illuminant=RGB_COLOURSPACES.get('sRGB').whitepoint, chromatic_adaptation_method='CAT02', apply_EOCF=True)

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)
  • 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)
  • colour.plotting.colour_parameter: (@KelSolaar)
    • Remove
    • Note: colour.plotting.ColourParameter class should be used instead.