Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I got many GeoEye files with BGRN color format. The image looks gray. -co PHOTOMETRIC=RGB ALPHA=NO gives greenish color. Rearranging bands does not work too.

Could someone help me convert this image to "natural color" image using gdal_translate

Thanks.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

If you have it currently in BGRN and want RGB the obvious solution is:

gdal_translate -b 3 -b 2 -b 1 bgrn.tif rgb.tif

You mention rearranging bands does not work. Could you clarify what you try and what happens?

share|improve this answer
    
I did exact the same command above. BGRN is B G R Nir. But the result image is kind of greenish. Would it be the RBG is that how it looks, originally? –  alsaleem Dec 20 '12 at 11:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.