blazek at itc.it
Thu Apr 17 08:11:52 EDT 2003
I am currently digitizing vectors using many large orthophotos
on background. I had been a bit annoyed by speed of d.rgb
so I wrote d.photo (slightly modified d.rgb) which can display
orthophoto raster map created from 3 (RGB) raster maps (1 byte/cell) by
r.mapcalc pok2="043130.r + 043130.g * 256 + 043130.b * 65536"
(3 bytes/cell in result)
d.photo is significantly faster than d.rgb:
time d.rgb r=043130.r g=043130.g b=043130.b
time d.photo map=pok2
Does it make sense to add d.photo to GRASS? As it is so simple
and d.photo take less than 50% of time of d.rgb I think that
I am missing something. Maybe we already have such module?
More information about the grass-dev