[GRASS-user] i.rgb.his/i.his.rgb not working properly

Georg Kaspar georg at muenster.de
Wed Sep 30 06:51:40 EDT 2009


Markus Neteler wrote:
> On Tue, Sep 29, 2009 at 3:26 PM, Georg Kaspar <georg at muenster.de> wrote:
>> [1] d.rgb r=szene1_mul.4 g=szene1_mul.3 b=szene1_mul.2
>> --> http://img96.imageshack.us/img96/9487/screen1i.png
> 
> are you sure about the channel order?

yes, it's a false color composite. i set the colortable to grey, so the
image looks a bit dull.

>> I also repeated the process using landsat data from the nc data set - same
>> problem here.
> 
> ok, I have tried that, too:
> 
> g.region rast=lsat7_2002_10
> d.mon x0
> d.rgb b=lsat7_2002_10 g=lsat7_2002_20 r=lsat7_2002_30
> i.rgb.his b=lsat7_2002_10 g=lsat7_2002_20 r=lsat7_2002_30
> h=lsat7_2002_h i=lsat7_2002_i s=lsat7_2002_s
> d.his h=lsat7_2002_h i=lsat7_2002_i s=lsat7_2002_s
> -> result is some grey scale image.
> Perhaps that's correct?

i converted the results back to rgb and it works. pansharpening was also
possible using channel 8.
unfortunately - it still doesn't work using quickbird data

> Find attached a RGB/HIS fusion script which I wrote some years ago:

thanks for the script. unfortunately the output looks still the same
since the script makes use of the same modules. does the script work on
your installation?





More information about the grass-user mailing list