[gdal-dev] RE: [GDAL_TRANSLATE]Problem with colorimetry

Tacot cfab13 at hotmail.fr
Wed Aug 11 04:29:03 EDT 2010



Hi

First of all, Thanks a lot: it works!

I've run those commands line:

/*For all pictures => it's a little bit repetitive:
gdal_translate -of GTiff -expand RGB -co compress=lzw SC25_TOPO_0850_6470_L93.tif 0850_6470.tif

gdalbuildvrt truc.vrt *.tif

gdal_translate -of GTiff truc.vrt truc.tif

But maybe you can explain somme things to me:
- what version of gdal, reports the issue?

- What does the option RGB do?

- What is PCT2RGB?

Best Regards
Fab

Date: Tue, 10 Aug 2010 09:01:36 -0700
From: ml-node+5393675-1188735875-280951 at n2.nabble.com
To: cfab13 at hotmail.fr
Subject: Re: [GDAL_TRANSLATE]Problem with colorimetry



Fab,



I found the problem.

There were some differences in color tables of your images.
gdalbuildvrt application from the latest GDAL version reports the issue
when you try to build the vrt file. You're advised to preprocess your
rasters with other tools, such as pct2rgb.py or "gdal_translate -expand
RGB" to operate gdalbuildvrt on RGB rasters instead.



The reason the red areas were occuring in different areas is that gdalbuildvrt considers only the first file's color table.

On Tue, Aug 3, 2010 at 8:36 PM, Tacot <[hidden email]> wrote:



I think more about the value of data.

http://osgeo-org.1803224.n2.nabble.com/file/n5368754/PixelRed.jpg



But it's not always the picture on the right which pixels become red; it can

be also the picture on the left.

I have the felling it depends on the range of merging.

--

View this message in context: http://osgeo-org.1803224.n2.nabble.com/GDAL-TRANSLATE-Problem-with-colorimetry-tp5368059p5368754.html


Sent from the GDAL - Dev mailing list archive at Nabble.com.

_______________________________________________

gdal-dev mailing list

[hidden email]

http://lists.osgeo.org/mailman/listinfo/gdal-dev



-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/ 
+91-9494447584
17.2416N 80.1426E


_______________________________________________

gdal-dev mailing list

[hidden email]

http://lists.osgeo.org/mailman/listinfo/gdal-dev





View message @ http://osgeo-org.1803224.n2.nabble.com/GDAL-TRANSLATE-Problem-with-colorimetry-tp5368059p5393675.html


To unsubscribe from Re: [GDAL_TRANSLATE]Problem with colorimetry, click here.


 		 	   		  
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GDAL-TRANSLATE-Problem-with-colorimetry-tp5368059p5411388.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100811/b5917f43/attachment.html


More information about the gdal-dev mailing list