[GRASSLIST:1078] Re: r.in.tiff and r.composite
Glynn Clements
glynn.clements at virgin.net
Sat Aug 30 22:01:02 EDT 2003
Luis Goncalves Seco wrote:
> I whould like to understand the logic of have two commands
> for import a tiff image in a single GRASS file?
>
> Because r.in.tiff generate 3 files (r,g,b), I whould like
> to know if the ideia of the programmer, was permit that
> the user could adjust (1-256) each color with
> r.composite?
> if not why? and why not 2 commands in one, if we have
> programs like Gimp to do this before importing?
An RGB image has three values per cell (pixel): red, green and blue.
GRASS raster maps only have one value per cell, so you need to create
three maps to hold all of the information.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-user
mailing list