Skip to content

Implement support for "Optimal Colour Stimuli" computation. #364

@KelSolaar

Description

@KelSolaar

We are currently using pre-computed Optimal Colour Stimuli tables from MacAdam (1935) and they are not very precise, only account from Luminance domain [10, 95] with the negative side-effect of labelling a lot of Munsell Real colours outside the MacAdam limits:

import colour

xyY_r = []
for _HVC, xyY in colour.MUNSELL_COLOURS_REAL:
    xyY_r.append(xyY * np.array([1.0, 1.0, 1.0 / 100.0]))
xyY_r = np.array(xyY_r)

iml = colour.is_within_macadam_limits(xyY_r, 'C')
print(len(xyY_r))
print(len(iml[iml == False]))
# 2734
# 829

We should improve this behaviour by implementing an analytical computation for Optimal Colour Stimuli.

References

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions