A simple issue where I see no solution with the runtime version of ENVI. What do you think ?
(A) In ENVI RT 3.5sp1, if I try to use "Menu/Spectral/Spectral resampling" for data which wavelength is in nm (example: 400 nm to 2500 nm) and try to use ENVI's "Pre-defined filter function", it will not work (error message
telling me all bands are out of range) because ENVI is waiting for wavelenght data between 0.4 and 2.5 instead of between 400 nm and 2500 nm.
There is no way to specify the unit factor. What is the workaround ? I don't see any way to modify band wavelenght and FWHM values other than going in the Header info and modify each band one by one manually.
(B) On a similar issue, in the runtime version of ENVI, I can't find a way to do spectral band maths. What I want to do is quite simple, for one pixel, I'd like to smooth the spectra by averaging each band with previous and next band values (or better: median instead of average). Spectral math allow addition of whole spectra with other pixels, while I'd like to apply a mathematical function within one pixel's spectra.
Thanks in any case,
Alex :)
|