On Wednesday 05 November 2008, Milton Cezar Ribeiro wrote: > Dear Grass-experts > > I have a categorical raster map with 5 classes. > Now I need to estimate some stats using different-sized windows > like 3x3, 5x5..25x25. The stats the I would like > to compute is to count the number of classes on > the windows, to estimate the percentage of an > class of interest (like class 4, for example), > and other stats that could be computed using > the pixels inside the windows. > > As you can see, the size of windows will varying, > so as final solution I think to include the solution > on a "for XX in ()... done" looping. > > Any help are welcome.
r.resamp.stats r.neighbors -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
