[GRASSLIST:10153] Re: importing EDOQ LUT
Martin du Saire
mdusaire at umn.edu
Sat Feb 4 22:38:53 EST 2006
Thanks for your quick response,
The problem is that imagename.red, imagename.green, and
imagename.blue resulting from r.in.gdal, are identical grayscale
images. Their histograms are exactly the same, so the composite ends
up being grayscale...it should be RGB right? But r.composite would
produce an RGB raster map only if xxxx.red, xxxx.green, and xxxx.blue
are distinct, right?
Is there a problem with the .jpg, or am I importing it incorrectly?
Is there supposed to be a look-up-table associated with the image
that I use to generate the xxxx.red, xxxx.green, xxxx.blue?
Thanks.
M
At 08:30 AM 2/4/2006, you wrote:
>r.in.gdal -e input=image.jpg target=image.jgw ouptput=imagename
>
>all I get are three identical grayscale raster maps: imagename.red,
>imagename.blue., imagename.green
>which makes sense because I haven't told it how to interpret the
>grayscale values in image.jpg
>
>What am I missing?
>
>Thanks.
>
>M
>
>============================================
>
>Use r.composite to merge the three rbg maps into the final raster:
>
>http://grass.itc.it/grass60/manuals/html60_user/r.composite.html
>
>~ Eric.
More information about the grass-user
mailing list