Help requested - Spectral Resampling Problem in ENVI [message #20359] |
Thu, 08 June 2000 00:00 |
jmcfee
Messages: 17 Registered: August 1995
|
Junior Member |
|
|
This may be a dumb one, but I'm stumped. I am using ENVI to classify 48 band PCI
BIP image files. I want to do spectral classification (using a custom classifer)
on a subset of 10 of the 48 bands. I also have a 48 band spectral library that I
created from one of the 48 band files. So really all I want to do is to make an
image out of the 10 bands and have a spectral library based on the same 10
bands, then do my classification. The way I tried to do this is to resample both
the image file that I am going to classify and the spectral library.
The problem occurs when I first try to spectrally resample the image. When I run
the spectral tools --> spectral resampling, I choose "resampling from an ASCII
file", I get an error that says:
"10 out of 10 points in the output wavelength are outside the range of the input
wavelength and will not be interpolated"
My output image consists of 10 bands of all zeros! I just do not know why this
is happening, because all the selected wavebands are taken from the original
bandset.
The bands as listed by ENVI in its header information or in the available bands
list are:
0 413.400 nm +/- 6.10000 nm
1 424.400 nm +/- 6.10000 nm
...
24 683.600 nm +/- 6.30000 nm
25 695.100 nm +/- 6.30000 nm
26 706.500 nm +/- 6.30000 nm
27 718.000 nm +/- 6.30000 nm
28 729.500 nm +/- 6.30000 nm
29 740.900 nm +/- 6.30000 nm
30 752.400 nm +/- 6.30000 nm
31 763.900 nm +/- 6.30000 nm
32 775.400 nm +/- 6.30000 nm
33 786.900 nm +/- 6.30000 nm
34 798.400 nm +/- 6.30000 nm
35 809.900 nm +/- 6.30000 nm
...
47 948.200 nm +/- 6.30000 nm
and my ascii file looks like:
26 695.100 12.6
27 706.500 12.6
28 718.000 12.6
29 729.500 12.6
30 740.900 12.6
31 752.400 12.6
32 763.900 12.6
33 775.400 12.6
34 786.900 12.6
35 798.400 12.6
I have tried ignoring and including the FWHM values and selecting both columns 1
and 2 (band number or wavelength) with no difference.
Any help is appreciated.
John McFee
--
Dr. John E. McFee
Defence Research Establishment Suffield
Box 4000, Medicine Hat, AB Canada T1A 8K6
(403) 544-4739 (voice) 544-4704 (fax)
e-mail: John.McFee@dres.dnd.ca
--
Dr. John E. McFee
Defence Research Establishment Suffield
Box 4000, Medicine Hat, AB Canada T1A 8K6
(403) 544-4739 (voice) 544-4704 (fax)
|
|
|