- Continuum Removal: Continuum Removal is used to normalize reflectance spectra so that one can compare individual absorption features from a common baseline. The continuum is a convex hull fit over the top of a spectrum using straight-line segments that connect local spectra maxima.
- Finding Common wavelength bandwidth: Most of the time the wavelength range of the hypercube and that of the library is different. As a result, we need to calculate the common wavelength range or bandwidth prior to matching.
- Resample Spectra: Often the hypercube reflectance spectra and library reflectance spectra will be having different sampling wavelengths. Therefore it is necessary to resample the hypercube reflectance spectra according to the library reflectance spectra before matching.
creating a custom spectral library for hyperspectral support package spectralMatch
7 次查看(过去 30 天)
显示 更早的评论
I don't know why you folks have made this so ridiculously complicated, but I haven't been able to figure out how to create a customized spectral library given a set of library spectra (with associated wavelength values and names of the spectra) for use with your spectralMatch routine. Thanks.
0 个评论
回答(1 个)
Parth Parikh
2024-3-28
Hi William,
Thanks for trying out the spectralMatch function. It would be nice if you can provide more details by sharing the customized spectral library. Further I would like to know if you are facing any failures or is it difficult to understand the spectralMatch functionality ?
SpectralMatch does following things before matching the spectra:
You can pass custom spectral library to spectralMatch function, as it only look for wavelength and reflectance values. Here customLib is structure containing wavelength and reflectance values for a given material.
score = spectralMatch(customLib, hcube);
Let me know if that helps.
0 个评论
另请参阅
类别
在 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!