Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am attempting to input 4-band CIR imagery into ENVI's Vegetation Index Calculator and keep running into the same error: "Wavelengths must be defined to calculate vegetation indices".

I have attempted the following troubleshooting based on this thread with no success:

File > Edit ENVI Header > Edit Attributes > Wavelengths... > Wavelength/FWHM Units: Wavenumber

Unfortunately ENVI's help section does not provide good support for this problem. Any advice on how to correctly input these images would be greatly appreciated.

Edit: An example of the 2010 NAIP 1M NC/CIR DOQQ input imagery can be found here. Please note that I converted the base DOQQs from .jp2 to 8 bit unsigned geoTIFFs.

share|improve this question
1  
Can you provide the source of the image so users might be able to replicate the error? –  artwork21 Jul 27 '12 at 16:20
    
@artwork21: No problem, post updated with link. –  Aaron Jul 27 '12 at 16:58
add comment

1 Answer

up vote 2 down vote accepted

Assuming this is just a follow on to your previous question about vegetation indices, I would recommend not using the Vegetation Index Calculator. It's quite cumbersome, and (as far as I can tell) more relevant for hyperspectral imagery where you want ENVI to automatically choose the correct band from an image cube based on that wavelengths defined in the header.

Instead, I would suggest using the Band Math tool. If you're doing NDVI or EVI, you can just type in the formula here, choose the bands, and ENVI will run the calculation. You will want to have your EVI formula be something like this:

2.5 * ((B2-B1) / (B2 + 6 * B1 - 7.5 * B3 + 1))

Where B1 = red, B2 = NIR, and B3 = blue. Note that you may need to play around with the float() command depending on the data type of the NAIP data. Otherwise, ENVI will incur some serious rounding errors.

share|improve this answer
    
Thanks again dmahr. –  Aaron Aug 2 '12 at 11:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.