Dear list,

I have calculated the number of pixels whose value=1 for different radii 
using the r.neighbors function (method= circular, function=sum). I would 
like to compute the proportion of cells with this value and for that,  
I'm trying to figure out the effective number of pixels that are used 
for each radius. From the documentation 
<http://grass.osgeo.org/gdp/html_grass64/r.neighbors.html>, above a 
diameter of d = 9 cells, the result seems to be d^2-  4 * (d-1)  cells 
but I was wondering if someone could confirm this to me? Is this 
relationship conserved for larger diameter.

Thanks for any hint

Alexandre


P.S.: I already posted this message on the Grass stats list but maybe I 
wasn't clear enough and as a result didn't get any answer

	[[alternative HTML version deleted]]

