I have a couple of three-band satellite images that I want to apply an expression to and get a three-band output.
The expression is of a simple form: output_pixel= (input_pixel*d^2)/cos e
After reading the OTB cookbook I believe BandmathX is the application I need. However i am unsure how to formulate the command to get my expression applied to each pixel in all three bands.
What is the correct command to achieve this.
If there is a way to do this via Gdal, I also welcome those suggestions.
Thank you in advance
أكثر...
The expression is of a simple form: output_pixel= (input_pixel*d^2)/cos e
After reading the OTB cookbook I believe BandmathX is the application I need. However i am unsure how to formulate the command to get my expression applied to each pixel in all three bands.
What is the correct command to achieve this.
If there is a way to do this via Gdal, I also welcome those suggestions.
Thank you in advance
أكثر...