[GRASSLIST:1578] Re: i.composite and r.in.gdal

Markus Neteler neteler at itc.it
Tue Oct 28 04:30:27 EST 2003


On Mon, Oct 27, 2003 at 10:58:13AM -0800, Daniel Victoria wrote:
> I think you need to set the color palette correctly
> before doing the composite. try first ruining r.color
> on each image, setting a gray color palette or a
> gray.eq and then make the composite

The version in CVS (5.3-cvs) is already updated to apply
a grey color table. Using this version 'd.rgb' et al.
deliver the expected result immediately.

Markus


> --- bfdi533 <bfdi533 at cbacc-security3.bus.utexas.edu>
> wrote:
> > I have finally gotten through the bumps to getting
> > r.in.gdal working on
> > a geotiff.
> > 
> > Now, I have loaded a shade relief of the US with
> > r.in.gdal and have a
> > shdrlf image group and shdrlf.1, shdrlf.2 and
> > shdrlf.3 raster images. I
> > have tried to composite them with i.composite using
> > 1=R, 2=G and 3=B
> > (assuming this to be the correct sequence) using
> > 16^3 colors (resulting
> > in 4096 shades).  The results are not what I had
> > expected.
> > 
> > Here is what I had expected:
> >
> http://w3test.mccombs.utexas.edu/services/cbacc/dbsupport/images/expected.png
> > and here is what I actually got:
> >
> http://w3test.mccombs.utexas.edu/services/cbacc/dbsupport/images/composite.png
> > 
> > Any help on getting this composite right?
> > 
> > Ed Davison
> > 
> 
> __________________________________
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> http://launch.yahoo.com/promos/britneyspears/

-- 
Markus Neteler     <neteler at itc.it>       http://mpa.itc.it
ITC-irst, Istituto per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-user mailing list