I need to do some raster calculation, I've been trying to make it work but I am not sure everything is working properly.
I need to apply a formula, but I am unsure if I am doing it properly. The formula is needed to find out the luminance:
L(Bx) = (CN(Bx) – 1) * G(Bx) - Q0(BX)
Bx is the band, G is 0.64 and Qo is -5, CN is the number of the band ( in this case 3), the name of the file is "B30@1"
Should it look like this ?
( 3B30@1 - 1 ) * 0.64B30@1 - -5B30@1
After I apply this formula, the image become a gray square, is this normal? Have I applied the formula correctly