How to transform ENVI Hdr to PNG using GDAL?

المشرف العام

Administrator
طاقم الإدارة
I am trying to transform a ENVI Hdr image into a PNG (or other RGB image format) in order to visualize this image. I am selecting the three default bands (55, 41, and 12). I am using GDAL by using java.

However, the problem is that the pixel values of my ENVI hdr image has values from 481 to 1479 (and other range values depending of the selected band) and probably I have to transform this radiance value into a valid 0-255 value to represent my color, right?

How can I do this? Please, let me know if there is another java library to do it too.



أكثر...
 
أعلى