Spectral indices

Issue #968 resolved
Agustin Lobo created an issue

I think the following would be useful:

  1. A menu for computing predefined spectral indices (including those defined by the user in a config file): tick on those of interest that would be saved, by default, as a multi-”band” .vrt file.
  2. On-the fly computing of spectral indices for being displayed in a similar way as in the color space explorer. Note that indices are most often displayed in grey or pseudocolor scale, but in geology is not rare to display color composites of spectral indices.

Comments (9)

  1. Andreas Janz

    A menu for computing predefined spectral indices 

    You mean in the main menu or somewhere else?

  2. Andreas Janz

    On-the fly computing of spectral indices for being displayed in a similar way as in the color space explorer. Note that indices are most often displayed in grey or pseudocolor scale, but in geology is not rare to display color composites of spectral indices.

    We have the Spectral Index Creator app, where you can do that. Have you tested it already in the dev version?

  3. Agustin Lobo reporter

    My bad, I was not clear enough.

    I was thinking on a section named Predefined Spectral Indices (after Predefined Multiband Colors) within Custom Raster Rendering/Color Space Explorer, or perhaps a new Custom Raster Rendering/Spectral Indices Explorer panel.

    What you suggest also makes sense, but would be rather for computing the indices. I was thinking on visualizing the indices (even as composites) before actually computing (some of) them. It would make sense as an exploration tool.

  4. Andreas Janz

    Alright, understood.

    What about just using the new Raster Layer Styling panel to render Spectral Indices directly?

    Instead of only selecting original bands, we could allow the selection of Spectral Index Bands:

    I’ve already done something similar in another tool, where you can visualize normal bands and index bands:

  5. Andreas Janz

    Maybe we don’t need to touch the  Raster Layer Styling panel to make that happen.

    The Spectral Index Creator app can create a VRT raster with all the Spectral Indices you are interested in. This takes only a second.

    Now select this VRT in the Raster Layer Styling panel, and you are good to go to visualize any index in RGB/Gray/Pseuso colors.

  6. Agustin Lobo reporter

    I would rather have the possibility of visualizing the indices in the Raster Layer Styling panel directly and then save those needed only. But this is not a big issue. What you say would have the advantage of letting you concentrate on more important issues (such as #882)

  7. Log in to comment