Hello,
I want to modify every single pixel of a 1 band GeoTiff file,
following a formula (multiply each pixel for a value and then add
another value).
output_pixel[i][j] = input_pixel[i][j] * K[i][j] + C[i][j]
I can't apply a linear scale (it would be as easier as -scale option
in
Le jeudi 13 décembre 2012 19:58:50, Jorge Arevalo a écrit :
Hello,
I want to modify every single pixel of a 1 band GeoTiff file,
following a formula (multiply each pixel for a value and then add
another value).
output_pixel[i][j] = input_pixel[i][j] * K[i][j] + C[i][j]
I can't apply a
Thanks for the response and the wise advice, Even. I'll do it in that way.
On Thu, Dec 13, 2012 at 8:06 PM, Even Rouault
even.roua...@mines-paris.org wrote:
Le jeudi 13 décembre 2012 19:58:50, Jorge Arevalo a écrit :
Hello,
I want to modify every single pixel of a 1 band GeoTiff file,