GPUImage3 icon indicating copy to clipboard operation
GPUImage3 copied to clipboard

WhiteBalance operation doesn't work

Open kirillbagrinovsky opened this issue 4 years ago • 0 comments

I see we can't use White balance correction like in GPUImage 1 Now code of this operation is commented

Can you enable this code again? I think we should change only two things to fix this operation

({temperature = 1.0})() ({tint = 0.0})()

constant half3x3 RGBtoYIQ = half3x3({0.299, 0.587, 0.114}, {0.596, -0.274, -0.322}, {0.212, -0.523, 0.311}); constant half3x3 YIQtoRGB = half3x3({1.0, 0.956, 0.621}, {1.0, -0.272, -0.647}, {1.0, -1.105, 1.702});

kirillbagrinovsky avatar Feb 26 '20 12:02 kirillbagrinovsky