geotiff.js is a small library to parse TIFF files for visualization or analysis. It is written in pure JavaScript, and is usable in both the browser and node.js applications.
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
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