NDVI and NRG
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
patcoyle "Interesting work. Thanks, Chris. " | Read more » about 7 years ago
cfastie "Setting a custom white balance on the Mobius camera can be done numerically. Determining which numbers to use requires trial and error and subjecti..." | Read more » about 7 years ago
suman "Dear Cfastie, Very informative. Thanks for posting. I was interested to know, which method is more preferred and accurate, whi..." | Read more » about 7 years ago
cfastie "Although the full range of near infrared transmission of the Rosco 19 filter has not been measured (by anyone we know about ), we are not without t..." | Read more » about 7 years ago
suman "Dear Chris, After some thoughts , i believe Rosco 19 is not accurate enough, i mean it collects only few spectrum of infrared. If ..." | Read more » about 7 years ago
suman "Dear Chris, Thank you so much for your reply. So the accuracy relies on the custom white balance settings. I found one interesting..." | Read more » about 7 years ago
cfastie "The spectral response graphs supplied by Rosco don't go past 740 nm. So we are assuming that there is some transmission farther into the near infra..." | Read more » about 7 years ago
warren "Yeah - so one idea behind the methods pages is to try to list out some of the "challenges" or next steps that'd be needed, and some of the remainin..." | Read more » about 7 years ago
cfastie "I guess the method would be deriving NDVI from inexpensive sensors (not cameras) operated by a microcontroller. There might be a better sensor (or ..." | Read more » about 7 years ago
suman "Dear Chris & Mathew, Does the Rosco 19 Fire allows the light spectrum from only 560 to 740 nm range? The Wratten 25 A transm..." | Read more » about 7 years ago
warren "Wow, this is super! Thanks, Chris! Do you think as more info comes together around this device (like more posts, questions, etc) we might post it o..." | Read more » about 7 years ago
cfastie "I've made a couple of those I2C hubs and they are very handy. They're fun to make too. I now put a little super glue between the header plastic bef..." | Read more » about 7 years ago
xose "I can see your tiny forked I2C hub around the prototype ;) Amazind device!! " | Read more » about 7 years ago
suman "Dear Warren, I am currently looking some literatures on Image Vignetting Correction. I will definately post back after i come ..." | Read more » about 7 years ago
warren "Ah, i've just learned that I didn't know the definition of vignetting. But I do now -- apologies for mixing this up! I haven't heard anything about..." | Read more » about 7 years ago
suman "Dear Warren, I checked about the lens vignetting correction under the tag Lens-distortion as you mentioned. However, i didn't ..." | Read more » about 7 years ago
suman "Thanks for your prompt response warren.....highly appreciable.... Cheers " | Read more » about 7 years ago
suman "Thanks for your prompt response warren.....highly appreciable.... Cheers " | Read more » about 7 years ago
warren "There are a few different approaches to this too, but one which definitely works is documented alongside an in-progress web-based approach, both un..." | Read more » about 7 years ago
suman "Thanks for your response warren and Chris...I highly appreciate it..I was also interested to know about the vignetting effect and how public labs i..." | Read more » about 7 years ago
cfastie "Do you think i need the targets of known spectral reflectivity in the same bands that will be used to compute NDVI or it can be tested with any mat..." | Read more » about 7 years ago
warren "Hi -- well, there may be methods like that; just to put in another idea, although you probably won't want to do it; Dorn Cox from Farm Hack has act..." | Read more » about 7 years ago
suman "Some initial results using your white balance settings are impressive, however in this particular picture the roof of the house is showing high pho..." | Read more » about 7 years ago
suman "Dear All, As i was going through some literature, i found an interesting paper, "A Mixture of Barium Sulfate and White Paint is a Low-..." | Read more » about 7 years ago