JuliaImages / DitherPunk.jl

Dithering algorithms in Julia.
MIT License
60 stars 3 forks source link

Diffuse error in XYZ color space #59

Closed adrhill closed 2 years ago

adrhill commented 2 years ago

The ColorVectorSpace.jl readme mentions:

Colorspaces such as RGB, unlike XYZ, are technically non-linear; perhaps the most "colorimetrically correct" approach when averaging two RGBs is to first convert each to XYZ, average them, and then convert back to RGB.

This sounds to me like more accurate error diffusion would be possible in XYZ color space.