how can i write a code in order to get spectral reflectance plot of a pixel in a hyperspectral image
4 次查看(过去 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
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
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 Center 和 File Exchange 中查找有关 Hyperspectral Image Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!