[GRASSLIST:5560] Re: i.composite problem: gives minmax 1:1, grass5
Eric G. Miller
egm2 at jps.net
Fri Feb 14 21:54:55 EST 2003
On Fri, Feb 14, 2003 at 08:17:25PM -0500, Philipp Molzer wrote:
> Hi,
> Running grass5 on Linux RH8, I've imported a USGS aerial photo in JPEG
> format with
>
> r.in.gdal -o input=294.JPG output=294.JPG
>
> This gives me an imagery group called 294.JPG
> and 3 raster files called 294.JPG.1, 294.JPG.2, and 294.JPG.3
> Each of the raster files has a data range of 0..255 and is viewable with
> d.rast
> I'd like to plot the image with proper colors with d.rast so I first ran
> g.region rast=294.JPG.1
> r.support -r map=294.JPG.1
> r.support -r map=294.JPG.2
> r.support -r map=294.JPG.3
> and then
> i.composite (interactively) on 294.JPG, choosing
> b=294.JPG.1
> g=294.JPG.2
> r=294.JPG.3
> colorsteps=10
> output=294.JPG.COMP
> This did give me a decent color table with a range of 1..1000
>
> The problem is that 294.JPG.COMP has a data range of 1..1
> so I get a blank image.
>
> What am I doing wrong?
I don't know what the problem is, but I think you'll
be happier just using d.rgb.
--
echo ">gra.fcw at 2ztr< eryyvZ .T pveR" | rot13 | reverse
More information about the grass-user
mailing list