I have found an error in the CVS version of the average for r.neighbors.

I've tested this with source compiles of the latest cvs snapshot on both a 32 
bit and 64 bit machine.

Basically, the 6.2 version of r.neighbors gives the correct value. The cvs 
version reports inflated values for DCELL input layers.

For example if the input values in a 3x3 window are:

0.8747536354 0.9208617206 1.0010881339
1.0152474088 1.0720150743 1.0436036351
1.0319341389 1.0412245464 1.0209956859

the value for the center pixel should be: 1.0024137755

the cvs version reports 1.518590477 for a regular square window and 
1.5024137755 using a circular window.

T
-- 
Trevor Wiens 
[EMAIL PROTECTED]

The significant problems that we face cannot be solved at the same 
level of thinking we were at when we created them. 
(Albert Einstein)

_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to