geotiff.js icon indicating copy to clipboard operation
geotiff.js copied to clipboard

[2.0.7] nbits question on 11-bit image

Open ashley-mort opened this issue 1 year ago • 1 comments

I have an 11-bit image with 4 bands. The image displays properly (and has in-range values) in tools like QGIS but my 2nd band has lots of screwy values in geotiff.js. Probably 90% of my 2nd band values are massive.

I am looking for general ideas of where to look on this one. Any suggestions as to what could be going on here?

For example here are 2 pixels from my image in geotiff.js after doing an image.readRasters({window: myWindow, interleave: true}): [0] 357 [1] 62721 [2] 501 [3] 374

[4] 356 [5] 64001 [6] 506 [7] 376

ashley-mort avatar Apr 22 '23 01:04 ashley-mort

@ashley-mort

There may be issues with n-bit decoding. Do you have a public URL for that image so that I can check?

constantinius avatar Apr 24 '23 16:04 constantinius