[GRASS-dev] d.his vs. r.his

Hamish hamish_nospam at yahoo.com
Thu Oct 25 00:20:01 EDT 2007


Hi,

I am trying to recreate the 'd.his brighten=' effect with r.his, but with r.his along with the brightness I get extremely high contrast output.

e.g.

#spearfish  d.out.file help page example
r.shaded.relief map=elevation.dem shad=elev.shad_relf

r.mapcalc "elev.shad_relf_bright50 = elev.shad_relf * 1.5"
r.his h=elevation.dem i=elev.shad_relf_bright50 r=esr.r g=esr.g b=esr.b
d.rgb r=esr.r g=esr.g b=esr.b

# versus
d.his h=elevation.dem i=elev.shad_relf brighten=50

?

thanks,
Hamish




More information about the grass-dev mailing list