Effacer les filtres
Effacer les filtres

how can i write a code in order to get spectral reflectance plot of a pixel in a hyperspectral image

4 vues (au cours des 30 derniers jours)
I want to get the reflectance profile of a pixel.how can the code be written for a hypeerion hyperspectral data
  1 commentaire
Shrutika Sawant
Shrutika Sawant le 27 Fév 2017
Modifié(e) : Walter Roberson le 27 Fév 2017
Use the following code
reflectance = squeeze(img(i, j,:));
reflectance = reflectance/max(reflectance(:));
plot(reflectance)

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 4 Jan 2014
Assuming you have a 3D matrix where each image plane is the scene taken at a different wavelength, you can just get a spectrum like this:
theSpectrum = hyperSpectralImage3D(row, column, :);
  7 commentaires
Image Analyst
Image Analyst le 8 Mar 2017
ALINA, I'm not sure how to answer. Please provide more info.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Hyperspectral Image Processing dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by