[GRASS5] Re: d.his r.his question

Eric G. Miller egm2 at jps.net
Wed Dec 12 11:03:28 EST 2001


On Wed, 12 Dec 2001 16:24:54 +0100, Markus Neteler <neteler at itc.it> wrote:

> On Wed, Dec 12, 2001 at 03:04:19PM +0000, Glynn Clements wrote:
> > 
> > Markus Neteler wrote:
> > 
> > > > I am actaully writing with a question about d.his (and r.his). In the
> > > > past I used a modified version of d.his to create color shaded relief
> > > > maps. In other words I fused a color raster (h_map) with a grey
> > > > sun-illuminated raster (i_map).  The new r.his seems to be (correctly)
> > > > designed for imagery.
> > 
> > Treating colour images as a single raster layer with R*G*B distinct
> > categories is something of a kludge. In the absence of vector-valued
> > cell maps (i.e. band-interleaved-by-pixel), the next best thing (IMHO)
> > is separate R,G,B maps (effectively band-sequential).
> > 
> > I'm having second thoughts about whether r.his and r.composite should
> > have separate arguments for each channel, though. It might be better
> > to just have input=/output= and require that the bands are called
> > foo.r, foo.g and foo.b.
> 
> ... that's  a good suggestions which reduces typing efforts.
> eventually just:
> 
>  input=name [prefix=name]
> 
> if !prefix
>  prefix=input 
> 
> [...]

Umm, wouldn't imagery groups work?  Already set-up for specifying the
RGB bands...

-- 
Eric G. Miller <egm2 at jps.net>



More information about the grass-dev mailing list