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

조회 수: 1 (최근 30일)
I want to get the reflectance profile of a pixel.how can the code be written for a hypeerion hyperspectral data
  댓글 수: 1
Shrutika Sawant
Shrutika Sawant 2017년 2월 27일
편집: Walter Roberson 2017년 2월 27일
Use the following code
reflectance = squeeze(img(i, j,:));
reflectance = reflectance/max(reflectance(:));
plot(reflectance)

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2014년 1월 4일
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Hyperspectral Image Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by