Good time to all. Interesting is the sepia filter algorithm for the bmp file. As I understand it is necessary to translate RGB into the YCbCr palette and then what are my actions?
1 answer
outputRed = (inputRed * .393) + (inputGreen *.769) + (inputBlue * .189) outputGreen = (inputRed * .349) + (inputGreen *.686) + (inputBlue * .168) outputBlue = (inputRed * .272) + (inputGreen *.534) + (inputBlue * .131) - oneBy the way, the light areas fill up very blue - KappaPolice
- oneI think you can twist the coefficients and adjust the result. - Vladimir Martyanov
|