Viewer plugin for hyperspectral image data in the ManiVault framework.
git clone git@github.com:ManiVaultStudio/SpectralViewPlugin.git
Spectral viewer (center bottom) together with an image viewer and scatterplot, showing the average spectra of three sets of pixels (clusters in the t-SNE embedding). The image viewer shows a false-color representation of the data - the spectral viewer is used to set the wavelengths that are mapped to the RGB channels.
How to use:
- Load a data set, e.g. with the ENVI or general image loader plugins.
- Open a spectral viewer and drag & drop the point data into the viewer. At this point you will not see anything yet. Open data in another viewer, e.g. an image viewer, and make a selection. Now you'll see the average spectral values for the selected points.
- Create cluster for your data set, e.g. using an analysis like mean shift clustering or through manual annotation in the scatterplot. Drag & drop the cluster data into the main view of the spectral viewer.
- Perform a mapping like the "Spectral Angle Mapping" algorithm for a selected cluster. This will cerate a new image data set.
Caveats:
- This viewer only handles point data sets that have a image data set as a child.
- It's encouraged to define dimension names that encode the wavelength of the respective image channel, e.g. "304.7", "1020" or "304.7 nm". This wavelength information will be displayed in the viewer. If no dimension names are given when loading the data, ManiVault automatically numbers the dimensions, i.e. "Dim 0", etc.; in this case, the dimension numbers are displayed on the x-Axis instead of wavelengths.
- This viewer expects positive data values (as is common in spectral intensities); negative values might lead to unwanted behaviour.
Based on Popa et al. "Visual Analysis of RIS Data for Endmember Selection" (2022):
@inproceedings {10.2312:gch.20221233,
booktitle = {Eurographics Workshop on Graphics and Cultural Heritage},
editor = {Ponchio, Federico and Pintus, Ruggero},
title = {{Visual Analysis of RIS Data for Endmember Selection}},
author = {Popa, Andra and Gabrieli, Francesca and Kroes, Thomas and Krekeler, Anna and Alfeld, Matthias and Lelieveldt, Boudewijn and Eisemann, Elmar and Höllt, Thomas},
year = {2022},
publisher = {The Eurographics Association},
ISSN = {2312-6124},
ISBN = {978-3-03868-178-6},
DOI = {10.2312/gch.20221233}
}