[gdal-dev] Mosaic question...
dshean at gmail.com
Tue Feb 7 11:16:05 PST 2017
The dem_mosaic utility in the NASA Ames Stereo Pipeline suite of tools does exactly what you want. It was developed to efficiently generate large seamless mosaics from 1000s of raster inputs. The user can select from several options for output mosaic values (weighted average, median, first, last, stddev, count, etc.). I recommend that you start with the default weighted average option. Documentation, binaries (Linux and OSX), and source code are available here: https://ti.arc.nasa.gov/tech/asr/intelligent-robotics/ngt/stereo/.
Polar Science Center, Applied Physics Lab
Dept. of Earth and Space Sciences
University of Washington
1013 NE 40th St
Seattle, WA 98105
PSC website <http://psc.apl.uw.edu/people/post-docs/david-shean/>
Office: (206) 221-8727
Cell: (301) 801-4558
Fax: (206) 543-6785
> On Feb 6, 2017, at 2:33 PM, Jonathan Greenberg <jgreenberg at unr.edu> wrote:
> I love the gdalbuildvrt -> gdal_translate trick for large mosaicks, but I have a somewhat more complicated problem I was hoping I could get some help on. Given a large set of overlapping images, I want to mosaic using the following "rules": 1) all overlapping pixels should be averaged together, and 2) any "nodata" pixels in a given input image should be ignored in that calculation.
> Is this doable in GDAL? Or am I stuck with just the "top" image in the vrt being the value the output mosaic uses?
> Jonathan A. Greenberg, PhD
> Randall Endowed Professor and Associate Professor of Remote Sensing
> Global Environmental Analysis and Remote Sensing (GEARS) Laboratory
> Natural Resources & Environmental Science
> University of Nevada, Reno
> 1664 N Virginia St MS/0186
> Reno, NV 89557
> Phone: 415-763-5476
> http://www.unr.edu/nres <http://www.unr.edu/nres>
> AIM: jgrn307, MSN: jgrn307 at hotmail.com <mailto:jgrn307 at hotmail.com>, Gchat: jgrn307, Skype: jgrn3007
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev