[GRASS-dev] [bug #2790] (grass) r.bilinear result is rounded to .5
Maciek Sieczka via RT
grass-bugs at intevation.de
Thu Aug 24 06:45:27 EDT 2006
Indeed r.bilinear doesn't produce atrifact .5 and stuff anymore, but it's
output is slightly different than the output of the new r.resamp.interp
method=bilinear.
See spearfish60 example:
$ g.region rast=slope -a
$ g.region res=10.95 -a
$ r.bilinear input=slope output=slope_rbil
$ r.resamp.interp input=slope output=slope_rinterp method=bilinear
$ r.mapcalc 'diff=slope_rbil-slope_rinterp'
There is a minimal difference...
$ r.info -r diff
min=-0.000000
max=0.000000
... which can be seen on display as a kind off a regular pattern, and if
exagerated x10^15 it is noticable as:
$ r.mapcalc 'diff_exag=diff*10.0^15.0'
$ r.info diff_exag -r
min=-7.105427
max=7.105427
?
Maciek
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list