Hi Paulo, you can see an implementation of the mahalanobis distance computed in parallel (using all computer processors) for a single image here:
https://github.com/javimarlop/eHabpy/blob/master/ehab.py see lines 32-86 and 597. I hope it helps! Cheers, Javier On Sat, Feb 14, 2015 at 7:29 PM, Vaclav Petras <[email protected]> wrote: > > On Sat, Feb 14, 2015 at 11:47 AM, Paulo van Breugel <[email protected]> > wrote: >> >> >> For a quick solution, what about using r.tile to split the input data in >> tiles and compute the mahalanobis distance per tile. > > > See PyGRASS GridModule class which will do tiling (and a lot of other > things) for you. > > http://grass.osgeo.org/grass70/manuals/libpython/pygrass.modules.grid.html > > _______________________________________________ > grass-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-dev _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
