Greetings<div>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?</div>
<div><br></div><div>here goes the Metadata</div><div><br></div><div>The one with error</div><div><div>                                      </div><div><a href="http://r.info">r.info</a> map=2008_RGB_MSC08@Mountain</div><div>
 +----------------------------------------------------------------------------+</div><div> | Layer:    2008_RGB_MSC08@Mountain           Date: Fri Apr 15 09:39:12 2011    |</div><div> | Mapset:   Mountain                          Login of Creator: LL       |</div>
<div> | Location: TQ                                                           |</div><div> | DataBase: D:\data\                                                         |</div><div> | Title:     ( 2008_RGB_MSC08 )                                              |</div>
<div> | Timestamp: none                                                            |</div><div> |----------------------------------------------------------------------------|</div><div> |                                                                            |</div>
<div> |   Type of Map:  raster               Number of Categories: 32767           |</div><div> |   Data Type:    CELL                                                       |</div><div> |   Rows:         4653                                                       |</div>
<div> |   Columns:      4519                                                       |</div><div> |   Total Cells:  21026907                                                   |</div><div> |        Projection: UTM (zone -24)                                          |</div>
<div> |            N: 9059487.76299512    S: 9040875.76299512   Res:     4         |</div><div> |            E: 576932.87815394    W: 558856.87815394   Res:     4           |</div><div> |   Range of data:    min = 31  max = 32767                                  |</div>
<div> |                                                                            |</div><div> |   Data Description:                                                        |</div><div> |    generated by r.composite                                                |</div>
<div> |                                                                            |</div><div> |   Comments:                                                                |</div><div> |    r.composite red=&quot;2008_bandR_MSC08&quot; green=&quot;2008_bandG_MSC08&quot; blue=&quot;20\   |</div>
<div> |    08_bandB_MSC08&quot; levels=32 output=&quot;2008_RGB_MSC08&quot;                       |</div><div> |                                                                            |</div><div> +----------------------------------------------------------------------------+</div>
<div><br></div><div>The one that is OK (not produced in script)</div><div><a href="http://r.info">r.info</a> map=ai@Mountain                                                             </div><div> +----------------------------------------------------------------------------+</div>
<div> | Layer:    ai@Mountain                       Date: Tue May 17 02:11:55 2011    |</div><div> | Mapset:   Mountain                          Login of Creator: LL       |</div><div> | Location: TQ                                                           |</div>
<div> | DataBase: D:\data\                                                         |</div><div> | Title:     ( ai )                                                          |</div><div> | Timestamp: none                                                            |</div>
<div> |----------------------------------------------------------------------------|</div><div> |                                                                            |</div><div> |   Type of Map:  raster               Number of Categories: 32767           |</div>
<div> |   Data Type:    CELL                                                       |</div><div> |   Rows:         4653                                                       |</div><div> |   Columns:      4519                                                       |</div>
<div> |   Total Cells:  21026907                                                   |</div><div> |        Projection: UTM (zone -24)                                          |</div><div> |            N: 9059487.76299512    S: 9040875.76299512   Res:     4         |</div>
<div> |            E: 576932.87815394    W: 558856.87815394   Res:     4           |</div><div> |   Range of data:    min = 0  max = 32767                                   |</div><div> |                                                                            |</div>
<div> |   Data Description:                                                        |</div><div> |    generated by r.composite                                                |</div><div> |                                                                            |</div>
<div> |   Comments:                                 </div></div><div><div><br></div><div> |    r.composite red=&quot;2008_bandR_MSC08@Mountain&quot; green=&quot;2008_bandG_MSC08@Mou\   |</div><div> |    ntain&quot; blue=&quot;2008_bandB_MSC08@Mountain&quot; levels=32 output=&quot;ai&quot;                 |</div>
<div> |                                                                            |</div><div> +----------------------------------------------------------------------------+</div></div><div><br></div><div><br></div><div>
Thanks</div><div>Luisa</div>