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

1 visualización (últimos 30 días)
I want to get the reflectance profile of a pixel.how can the code be written for a hypeerion hyperspectral data
  1 comentario
Shrutika Sawant
Shrutika Sawant el 27 de Feb. de 2017
Editada: Walter Roberson el 27 de Feb. de 2017
Use the following code
reflectance = squeeze(img(i, j,:));
reflectance = reflectance/max(reflectance(:));
plot(reflectance)

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 4 de En. de 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 comentarios

Iniciar sesión para comentar.

Categorías

Más información sobre Hyperspectral Image Processing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by