<div>Dear Grass-experts</div><div><br></div><div>I have a categorical raster map with 5 classes.</div><div>Now I need to estimate some stats using different-sized windows</div><div>like 3x3, 5x5..25x25. The stats the I would like</div>
<div>to compute is to count the number of classes on</div><div>the windows, to estimate the percentage of an</div><div>class of interest (like class 4, for example),</div><div>and other stats that could be computed using</div>
<div>the pixels inside the windows.</div><div><br></div><div>As you can see, the size of windows will varying,</div><div>so as final solution I think to include the solution</div><div>on a &quot;for XX in ()... done&quot; looping.</div>
<div><br></div><div>Any help are welcome.</div>