[GRASS-user] Differences for r.composite

Luisa Peña luisapena1979 at gmail.com
Mon May 16 21:28:01 EDT 2011


Greetings
I have a script that runs automatically r.composite but when i compare my
RGB with an RGB (using the same images) bur produced with r.composite
outside my script I get the same image but with a different aspect (it
doesnt seem to be real color). Do i need to apply a color table to my RGB
produced from r.composite?

here goes the Metadata

The one with error

r.info map=2008_RGB_MSC08 at Mountain
 +----------------------------------------------------------------------------+
 | Layer:    2008_RGB_MSC08 at Mountain           Date: Fri Apr 15 09:39:12
2011    |
 | Mapset:   Mountain                          Login of Creator: LL       |
 | Location: TQ                                                           |
 | DataBase: D:\data\
  |
 | Title:     ( 2008_RGB_MSC08 )
 |
 | Timestamp: none
 |
 |----------------------------------------------------------------------------|
 |
 |
 |   Type of Map:  raster               Number of Categories: 32767
  |
 |   Data Type:    CELL
  |
 |   Rows:         4653
  |
 |   Columns:      4519
  |
 |   Total Cells:  21026907
  |
 |        Projection: UTM (zone -24)
 |
 |            N: 9059487.76299512    S: 9040875.76299512   Res:     4
  |
 |            E: 576932.87815394    W: 558856.87815394   Res:     4
  |
 |   Range of data:    min = 31  max = 32767
 |
 |
 |
 |   Data Description:
 |
 |    generated by r.composite
 |
 |
 |
 |   Comments:
 |
 |    r.composite red="2008_bandR_MSC08" green="2008_bandG_MSC08" blue="20\
  |
 |    08_bandB_MSC08" levels=32 output="2008_RGB_MSC08"
  |
 |
 |
 +----------------------------------------------------------------------------+

The one that is OK (not produced in script)
r.info map=ai at Mountain

 +----------------------------------------------------------------------------+
 | Layer:    ai at Mountain                       Date: Tue May 17 02:11:55
2011    |
 | Mapset:   Mountain                          Login of Creator: LL       |
 | Location: TQ                                                           |
 | DataBase: D:\data\
  |
 | Title:     ( ai )
 |
 | Timestamp: none
 |
 |----------------------------------------------------------------------------|
 |
 |
 |   Type of Map:  raster               Number of Categories: 32767
  |
 |   Data Type:    CELL
  |
 |   Rows:         4653
  |
 |   Columns:      4519
  |
 |   Total Cells:  21026907
  |
 |        Projection: UTM (zone -24)
 |
 |            N: 9059487.76299512    S: 9040875.76299512   Res:     4
  |
 |            E: 576932.87815394    W: 558856.87815394   Res:     4
  |
 |   Range of data:    min = 0  max = 32767
  |
 |
 |
 |   Data Description:
 |
 |    generated by r.composite
 |
 |
 |
 |   Comments:

 |    r.composite red="2008_bandR_MSC08 at Mountain"
green="2008_bandG_MSC08 at Mou\   |
 |    ntain" blue="2008_bandB_MSC08 at Mountain" levels=32 output="ai"
        |
 |
 |
 +----------------------------------------------------------------------------+


Thanks
Luisa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110517/f69ba3a6/attachment.html


More information about the grass-user mailing list