[GRASS-user] i.landsat.rgb problem

Hamish hamish_b at yahoo.com
Thu Jan 17 15:52:30 EST 2008


Leonardo wrote:
> > i tried i.landsat.rgb on GRASS 6.3 but I have this error message
> > and the color tables of the three raster are setted with all
> > values white.
> > I obtained this three brov raster from i.fusion.brovey applied on
> > Landsat images.
> >
> >i.landsat.rgb -p red=brov.red at PERMANENT green=brov.green at PERMANENT
> >blue=brov.blue at PERMANENT strength=90
> >Processing [brov.red at PERMANENT] ..
> >/usr/lib/grass/scripts/i.landsat.rgb: line 138: [: 36.9801: integer
> >expression expected
> >/usr/lib/grass/scripts/i.landsat.rgb: line 141: [: 15.7707: integer
> >expression expected
> >Processing [brov.green at PERMANENT] ..
> >/usr/lib/grass/scripts/i.landsat.rgb: line 138: [: 39.6825: integer
> >expression expected
> >/usr/lib/grass/scripts/i.landsat.rgb: line 141: [: 15.1483: integer
> >expression expected
> >Processing [brov.blue at PERMANENT] ..
> >/usr/lib/grass/scripts/i.landsat.rgb: line 138: [: 24.107: integer
> >expression expected
> >/usr/lib/grass/scripts/i.landsat.rgb: line 141: [: 13.1111: integer
> >expression expected
> >Color table for <brov.red at PERMANENT> set to rules
> >Color table for <brov.green at PERMANENT> set to rules
> >Color table for <brov.blue at PERMANENT> set to rules

i.landsat.rgb is designed for LANDSAT-5 and 7 color band data. ie 0-255
CELL maps (no floating point). I'll look into that later.


Philipp Steigenberger wrote:
> "i.fusion.brovey -l ms1=20 ms2=40 ms3=50 pan=80 outputprefix=ls7 --o"
> the output maps I get are gray. Three different grays, but not like
> it should look like. 

Those 3 maps are individual red, green, and blue channels. Display with
d.rgb or combine with r.composite (but you'll lose hard fought
information that way).

> I'm not admin on my system so I have no idea if the script (*.diff)
> from Martin is working in my case too.
> 
> Same problem in another color? ;o)

No.


Hamish


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping



More information about the grass-user mailing list