Colour 0.4.7 - Alpha Milestone
- Implement Color Interop Forum recommendation for ColorSpace Encodings for Texture Assets and CG Rendering. (#1316, @KelSolaar)
The following RGB colourspaces were added:
colour.models.RGB_COLOURSPACE_LIN_REC709_SCENE
colour.models.RGB_COLOURSPACE_LIN_P3D65_SCENE
colour.models.RGB_COLOURSPACE_LIN_REC2020_SCENE
colour.models.RGB_COLOURSPACE_LIN_ADOBERGB_SCENE
colour.models.RGB_COLOURSPACE_LIN_CIEXYZD65_SCENE
colour.models.RGB_COLOURSPACE_SRGB_REC709_SCENE
colour.models.RGB_COLOURSPACE_G22_REC709_SCENE
colour.models.RGB_COLOURSPACE_G18_REC709_SCENE
colour.models.RGB_COLOURSPACE_SRGB_AP1_SCENE
colour.models.RGB_COLOURSPACE_G22_AP1_SCENE
colour.models.RGB_COLOURSPACE_SRGB_P3D65_SCENE
colour.models.RGB_COLOURSPACE_G22_ADOBERGB_SCENE
The following aliases were added:
-
lin_ap1_scene
-
lin_ap0_scene
-
lin_rec709_scene
-
lin_p3d65_scene
-
lin_rec2020_scene
-
lin_adobergb_scene
-
lin_ciexyzd65_scene
-
srgb_rec709_scene
-
g22_rec709_scene
-
g18_rec709_scene
-
srgb_ap1_scene
-
g22_ap1_scene
-
srgb_p3d65_scene
-
g22_adobergb_scene
-
Implement support for Filmlight E-Gamut 2 RGB colourspace with
colour.models.RGB_COLOURSPACE_FILMLIGHT_E_GAMUT_2
attribute. (#1323, @nick-shaw) -
Implement support for Fujifilm F-Gamut C RGB colourspace with
colour.models.RGB_COLOURSPACE_F_GAMUT_C
attribute. (#1317, @KelSolaar)
- Implement support for Spectral radiance factors of test-colour sample #15 of the Japanese skin complexion, 5nm wavelength steps. (#1337, @cmuellner, @KelSolaar)
- Ensure that
colour.utilities.tsplit
definition returns a contiguous copy of the input array. (9ba813d7147024ac41dd4c9ad6e98172a5143d6f, @KelSolaar)
- The
colour.algebra.sdiv_mode
context manager andcolour.algebra.sdiv
definition and other related objects now support two new modes:Replace With Epsilon
: Zero-division is avoided by replacing zero denominators with the machine epsilon value from :attr:colour.constants.EPSILON
.Warning Replace With Epsilon
: Zero-division is avoided by replacing zero denominators with the machine epsilon value from :attr:colour.constants.EPSILON
with a warning.
- The
colour.SpectralDistribution.interpolate
definition has been updated to handle fractional wavelengths better. (#1328, @KelSolaar)- Numerical differences are expected if any of the following definitions were used with fractional wavelengths:
colour.SpectralDistribution.interpolate
colour.SpectralDistribution.align
colour.MultiSpectralDistributions.interpolate
colour.MultiSpectralDistributions.align
colour.colorimetry.reshape_sd
colour.colorimetry.reshape_msds
- Numerical differences are expected if any of the following definitions were used with fractional wavelengths:
Object | Name | Author |
---|---|---|
colour.IPT_hue_angle |
colour.models.IPT_hue_angle |
@KelSolaar |