How to plot a hyperspectral spectrum (Wavelength to reflectance) for a pixel or image segment in MATLAB?
2 次查看(过去 30 天)
显示 更早的评论
Can it be possible to get the wavelength vs reflectance plot using any image in MATLAB?
If yes, then what code one should use for this?
Use any image plot the spectrum which may look like this:
Data to be converted to
Image Spectrum
0 个评论
回答(1 个)
Abhishek Tripathi
2023-11-28
编辑:Abhishek Tripathi
2023-11-28
The Hyperspectral Viewer app visualizes hyperspectral data and enables you to create spectral profiles of points and regions in the data.
You can plot points or small regions of the data along the spectral dimension to create spectral profiles. You can plot a single pixel or a region up to 10-by-10 pixels square. Use the Neighborhood Size parameter to specify the region size. When you select a region, the app uses the mean of all the pixels in the region to plot the data. Plotting a region, rather than an individual pixel, can smooth out spectral profiles.
For more info. see the documentation here
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!