I'm using the following command of gdal_translate to convert GTiff files to JP2 format:
gdal_translate image.tif image.jp2 -of JP2OpenJPEG -co QUALITY=25 -ot Int16
However, the output JP2 image has a different range of values compared to the original GTiff image.
GTiff values ranges from -3000 to 9994 and JP2 ranges from -3574 to 9860.
I already tried changing the quality parameter, but the range is still different. Isn't there a way to keep the output image range the same as the input?
Thanks Julio.