Closed visr closed 2 years ago
The single argument normedview is only for UInt8. This assumes that the full range will be used to go from 0 to 1.
https://juliaimages.org/stable/function_reference/#ImageCore.normedview
I ran into this with a UInt16 landsat image, and with this change I can imread it. Though I see that the tests only cover UInt8.
imread
EDIT: added a second commit to make imread work on RasterDataset
The single argument normedview is only for UInt8. This assumes that the full range will be used to go from 0 to 1.
https://juliaimages.org/stable/function_reference/#ImageCore.normedview
I ran into this with a UInt16 landsat image, and with this change I can
imread
it. Though I see that the tests only cover UInt8.EDIT: added a second commit to make imread work on RasterDataset