Dear Respected Authors: I would be grateful if you could share any hints on it.
On Tue, Nov 25, 2014 at 4:33 PM, Simen Langseth <[email protected]> wrote: > Dear Marius Jigmond: > > Thanks for your attempt. > > Unfortunately, it is producing 3 band outfile, rather than 1 band median > image. > > I could not figure out what this code computed, all the resulted 3 bands > images are also different. > > I hope someone can help me. > > On Tue, Nov 25, 2014 at 12:09 PM, Marius Jigmond < > [email protected]> wrote: > >> Does the following work: >> >> gdal_calc.py -A infile --allBands=A --outfile=outfile --calc="median(A)" >> >> >> ------------------------------ >> Date: Mon, 24 Nov 2014 19:14:06 +0900 >> From: [email protected] >> To: [email protected] >> Subject: [gdal-dev] gdal_calc.py: produce median raster >> >> >> I have one GeoTiff file with 3 bands. I want to produce a raster file >> computing pixel wise median value for the three raster bands. How can I do >> that? >> >> I tried as follows: >> >> gdal_calc.py -A infile --allBands --outfile outfile --calc median(A) >> >> But could not get any out file. >> >> >> >> _______________________________________________ gdal-dev mailing list >> [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev >> > >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
