Write a program to evaluate the errors that are introduced by using nonlinear instead of linear color components for grayscale conversion. To do this, compute the difference between the Y values...


Write a program to evaluate the errors that are introduced by using nonlinear instead of linear color components for grayscale conversion. To do this, compute the difference between the Y values obtained with the linear variant (Eqn. (6.16)) and the non-linear variant (Eqn. (6.17) with w R = 0.309, w G = 0.609, w B = 0.082) for all possible 224 RGB colors. Let you program return the maximum gray value difference and the sum of the absolute differences for all colors.




May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here