Plot Spectral Signatures – Hyperspectral images Python

Question:

I’m working with hyperspectral images of cactus, I’m interested in plotting the wavelength.

I’ve been using Spectral https://www.spectralpython.net/graphics.html#spectrum-plots

I have the image in ndarray (MxNxB = 600x1024x768) format and I can not give it the right format to get the most out of Spectral

What would be the right way to use the image in ndarray to graph something like this?
enter image description here

or how do I transform it to do it?

Asked By: Armayeestr

||

Answers:

The error comes from the acquisition of the image (done by a colleague). The image was permuted and did not correspond to Lambda to plot the spectrum

Answered By: Armayeestr
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.