Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wavelength support for hyperspectral images #19127

Open
qgib opened this issue Jun 27, 2014 · 9 comments
Open

wavelength support for hyperspectral images #19127

qgib opened this issue Jun 27, 2014 · 9 comments
Labels
Feature Request Rasters Related to general raster layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Jun 27, 2014

Author Name: Bryan Karpowicz (Bryan Karpowicz)
Original Redmine Issue: 10743

Redmine category:rasters


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".


@qgib
Copy link
Contributor Author

qgib commented Jun 27, 2014

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id was configured as Future Release - Nice to have
  • category_id was configured as Rasters

@qgib
Copy link
Contributor Author

qgib commented Jun 27, 2014

Author Name: Etienne Tourigny (@etiennesky)


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?

@qgib
Copy link
Contributor Author

qgib commented Jun 27, 2014

Author Name: Bryan Karpowicz (Bryan Karpowicz)


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.

@qgib
Copy link
Contributor Author

qgib commented Jun 27, 2014

Author Name: Etienne Tourigny (@etiennesky)


That would require some guessing or metadata to know the wavelength of each band... if you can give some specific information it would be useful.

@qgib
Copy link
Contributor Author

qgib commented Jun 27, 2014

Author Name: Bryan Karpowicz (Bryan Karpowicz)


I was thinking that if you had metadata like exists in a ENVI raster, you could pull that information, interpolate which bands to use, if exists, otherwise just use bands as it exists now.


  • 7551 was configured as subset.hdr
  • 7552 was configured as subset.img

@qgib
Copy link
Contributor Author

qgib commented Jun 30, 2014

Author Name: Matthias Kuhn (@m-kuhn)


Keeping the information about the wavelength in the band metadata would also be useful for other things like spectral plots.

@qgib
Copy link
Contributor Author

qgib commented Jun 30, 2014

Author Name: Etienne Tourigny (@etiennesky)


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?

@qgib
Copy link
Contributor Author

qgib commented Jun 30, 2014

Author Name: Bryan Karpowicz (Bryan Karpowicz)


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.

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0

@qgib qgib added Feature Request Rasters Related to general raster layer handling (not specific data formats) labels May 25, 2019
@qgib qgib added this to the Future Release - Nice to have milestone May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Rasters Related to general raster layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant