dilevin / computer-graphics-raster-images

Computer Graphics Assignment about Raster Images
2 stars 11 forks source link

desaturation factor #6

Closed WyattLiu closed 4 years ago

WyattLiu commented 5 years ago

The saturation of two example files does not agree (desaturated.png desaturated.ppm.png), which one should we mimic? It is fairly trivial to get close to desaturated.png but when I try to get desaturated.ppm.png with a change in math, I ended up with very desaturated pictures.

factor or (1-factor)?

rin-23 commented 5 years ago

desaturated.png

jritch commented 5 years ago

According to Gavin, matching either of the two example images is fine as long as the approach is correct.