NDVI and NRG
question:ndvi

NDVI stands for "Normalized Difference Vegetation Index". NRG stands for "Near-infrared / Red / Green". NDVI and NRG are both ways to visualize the amounts of infrared and other wavelengths of light reflected from vegetation. Because both these methods compare ratios of blue and red light absorbed versus green and IR light reflected, they can be used to evaluate the health of vegetation. It's a snapshot of how much photosynthesis is happening. This is helpful in assessing vegetative health or stress. (Read more here: https://www.agronomy.org/publications/jeq/articles/36/3/832) ## Do-It-Yourself These techniques for vegetation analysis were developed for satellite imagery, but at Public Lab, we've been working a lot on capturing infrared imagery using our DIY [near-infrared camera](/wiki/near-infrared-camera) setup, and combining it with visible bands to produce NDVI images such as the one above. ## What these images mean What exactly are these images we're trying to make? What do they tell us about vegetation, and why? These diagrams should help to understand what it is we're doing and why these are good ways to analyze plant life. ## The NDVI equation [![NDVI_is_eq.jpg](/i/44723)](/i/44723) **NDVI = (Near Infrared - Red)/(Near Infrared + Red)** NDVI is a ratio which tries to emphasize photosynthesis while filtering out sun glare. The above equation is run for every pixel, using source data from an infrared photo and a visible light photo, like this pair: [![5390895115_c9d4d38fec_o.jpg](https://publiclab.org/system/images/photos/000/021/771/large/5390895115_c9d4d38fec_o.jpg)](https://publiclab.org/system/images/photos/000/021/771/original/5390895115_c9d4d38fec_o.jpg) The result can be false-colored to make the high-photosynthesis areas more clear, and used to examine where plants are and how healthy they are. [![PetVISNDVIcomp.png](https://publiclab.org/system/images/photos/000/021/770/large/PetVISNDVIcomp.png)](https://publiclab.org/system/images/photos/000/021/770/original/PetVISNDVIcomp.png) _Figure above: Normal color photo (right) and normalized difference vegetation index (NDVI) image (left). NDVI image was derived from two color channels in a single photo taken with a camera modified with a special infrared filter. Note that tree trunks, brown grass, and rocks have very low NDVI values because they are not photosynthetic. Healthy plants typically have NDVI values between 0.1 and 0.9. -- @cfastie_ ### Activities Here are a range of activities you can do to produce and interpret your own NDVI imagery, whether downloaded from a satellite imagery provider or [collected yourself using a DIY technique](/wiki/multispectral-imaging) [activities:ndvi] **** ![IMG_0511-split.png](https://i.publiclab.org/system/images/photos/000/000/279/medium/IMG_0511-split.png) ![infrared-combination.png](https://i.publiclab.org/system/images/photos/000/000/278/medium/infrared-combination.png) Most DIY converted cameras today (those from Public Lab) use RGN instead of NRG, so the blue channel represents infrared instead of the red channel. That looks like this: [![rgn-split.png](/i/45468)](/i/45468?s=o) **** ## NRG imagery Some people are also interested in producing NRG imagery (like the below image), where `Near-Infrared, Red, and Green` are used to compose a picture instead of the usual `Red, Green, and Blue`. [![5415783775_502f79ac8c_o.png](/i/25064)](/i/25064) This diagram explains the swapping, which allows us to 'see' infrared as if it were a normal color: [![5396083368_40528d3da2_o.png](/i/25063)](/i/25063) **In NRG images, the deeper and clearer the red color, the denser and healthier the vegetation (more or less).** ### Questions [questions:ndvi] ### Other examples of DIY NDVI imaging From around the internet: Begin watching at 2 minutes to see the resulting imagery: *This topic is part of the [Grassroots Mapping Curriculum](/wiki/mapping-curriculum) series.* **** [![5416397210_5e3be40cf5_o.png](/i/25066)](/i/25066) [![5412520298_93873f36d0_o.png](/i/25065)](/i/25065) ...


Author Comment Last activity Moderation
cfastie "Performing a custom white balance on a blue-filtered NIR camera fools the camera into exaggerating the brightness of the red channel. The red chann..." | Read more » almost 6 years ago
cfastie "It will always be difficult to know for sure to what degree the red channel is contaminated by NIR. It might be worthwhile making an estimate. For ..." | Read more » almost 6 years ago
Anice "Thank you for your immediate response Chris. This is very helpful! Regarding modifying the values in the red channel of the aerial photos, I have ..." | Read more » almost 6 years ago
cfastie "Although the absolute values you computed for NDVI are lower than they should be, it appears that your process is successfully discriminating betwe..." | Read more » almost 6 years ago
Aezys "What I’d like to do is taking some pictures with the NoIR camera, process them and then write some code in Python to get the percentage of healthy ..." | Read more » about 6 years ago
ARMann "@warren - its probably a MAPIR Survey 3 camera: https://www.mapir.camera/collections/survey3 " | Read more » about 6 years ago
cfastie "Are you referring to this research note? https://publiclab.org/notes/cfastie/05-11-2017/dual-ndvi-ultra-probe-unit Are you referring to this figur..." | Read more » about 6 years ago
mrodriguezorejuela "Hi there. Are there any csv files for the other colormaps? I'm specifically looking for the Physics and its variation ones. Thanks! " | Read more » over 6 years ago
warren "Hi, can you share an image that you've taken with this camera? Where did you get the camera? Cool! " | Read more » over 6 years ago
Ag8n "Try: Https://m.youtube.com/watch?v=elZlWSj7jlg The company is LLA out of Germany. They say the particles can go down to 3 mm in size. Looks lik..." | Read more » over 6 years ago
warren "Great, any links to specific videos? " | Read more » over 6 years ago
Ag8n "I checked youtube. There are videos of cameras separating all kinds of plastics with NIR. That is PE , PS, PVC, and a bunch of others. So the ap..." | Read more » over 6 years ago
Ag8n "That is dehydrohalogenation. " | Read more » over 6 years ago
Ag8n "The process that polyvinyl chloride ( PVC) degrades by is hehydrohalogenation. First, one double bond is formed, then a second conjugated with the..." | Read more » over 6 years ago
Hala73 "Thanks for that, I'll give it a try and let you know how it worked " | Read more » over 6 years ago
Hala73 "I'll give it a try then, thanks! " | Read more » over 6 years ago
warren "We're developing a new system based on Infragram, which is more systematic, and can output things like averages, etc. We're testing this out now an..." | Read more » over 6 years ago
warren "Hi, @Hala73 - Fiji can be installed on a mac, actually -- and ImageJ (same app) on Linux. " | Read more » over 6 years ago
Hala73 "Thank you, these are plugins for PC but I'll look for something similar that works on a mac. " | Read more » over 6 years ago
cfastie "I don't think calculations at Infragram.org can be used for anything but determining the color of a new image. The Photo Monitoring plugin and Fiji..." | Read more » over 6 years ago
csteran "Thank you so much! " | Read more » over 6 years ago
tech4gt "@csteran actually image-sequencer has the capability to run a sequence of processing steps on an image and provide output of each step separately o..." | Read more » almost 7 years ago
csteran "How will the processed image replace the current image?. Like how will this work better than the current image?. , and yes I think I will need a li..." | Read more » almost 7 years ago
cfastie "If you have a normal color photo and an NIR photo of the exact same scene, you can use the Photo Monitoring plugin for Fiji. The Github repository ..." | Read more » almost 7 years ago