Feature request #10743
wavelength support for hyperspectral images
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||19127|
When loading a hyperspectral image currently qgis will load the first three bands. It would be extremely useful if it could load some default color schemes like "true color", or "color infrared".
#2 Updated by Etienne Tourigny over 5 years ago
This would be nice indeed.
It would be better if you give more details about how it should work
1- how to define which bands are "true color" or "color infrared"
2- what to do exactly once these are identified. True color means assign the RGB colors to the right bands right? Now what about color infrared?
#3 Updated by Bryan Karpowicz over 5 years ago
I was thinking something similar to what ENVI does where RGB true color maps to R-0.64 µm, G-0.55 µm, and B-0.47 µm, and CIR maps to R-0.86 µm, G-0.65 µm, and B-0.55 µm. If those precise bands aren't available, pick the nearest neighbor.
Use those to start, and maybe add something else in the 0.4-2.5 µm as this is typically what most new hyperspectral imagers shoot for.
#7 Updated by Etienne Tourigny over 5 years ago
Bryan - is this only for ENVI datasets? DO you have an exmaple of e.g. GTiff datasets that have wavelength information?
It would be interesting to use this for MODIS and Landsat imagery, although how would we guess the proper bands or even reliably recognize the source as MODIS or Landsat?
#8 Updated by Bryan Karpowicz over 5 years ago
Off the top of my head, I can't think of any data source which has a geotiff with wavelength information embedded in it. Landsat just refers to their's by band #, and I think MODIS does also. I'm pretty sure you could identify MODIS identifying metadata embedded within the hdf 4 file.