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
nedhorning "The calibration coefficients are, in the simplest case, the slope and y-intercept of the linear regression line for wavelength (based on calibratio..." | Read more » almost 6 years ago
Corymbia "Thanks for the advice. How are the calibration coefficients calculated? I need to take photos of >50 trees in a glasshouse, so even within one s..." | Read more » almost 6 years ago
nedhorning " If you're using them for calibration you should be fine taking photos of the targets every so often. The calibration coefficients shouldn't change..." | Read more » almost 6 years ago
Corymbia "I realised that my tiles may be too shiny and grabbed some matt paint samples (pieces of matt paper) from a local store. They’re small and light, m..." | Read more » almost 6 years ago
nedhorning "I just read over Rob Sumner's RAW guide and see Adobe DNG Converter is free. It also looks like he did some pretty rigorous tests so my previous co..." | Read more » almost 6 years ago
nedhorning "The tables look great. Before the end of the week I'll try to compare your converted image with on that I run through dcraw to see if they are simi..." | Read more » almost 6 years ago
Corymbia " Hi Ned, Thanks for your comment, it was mainly your notes that inspired my camera conversion :) I (hope I) fixed the tables by inserting print sc..." | Read more » almost 6 years ago
nedhorning " Hi Corymbia – It’s nice to see some new work in this area. I see that you used the Adobe DNG converter. You might want to look into that to under..." | Read more » almost 6 years ago
Corymbia "Hi Chris, I made a simple test earlier today, so far only managed to look at the JPEG file data (I have an old code for reading DNG into Matlab (ba..." | Read more » almost 6 years ago
cfastie " One photo every 50 shots might be sufficient. It depends on how much the light changes during that time (5 minutes?, an hour?, a day?). You might ..." | Read more » almost 6 years ago
Corymbia " Hi Chris, Thanks for your answer! Very helpful. 1) Regarding the reflectance targets. I bought a dozen of ceramic tiles in different colours (inc..." | Read more » almost 6 years ago
cfastie " You are correct that your multi-day observation will present some problems. It is possible that doing a custom white balance on each day will comp..." | Read more » almost 6 years ago
Corymbia " Hi Chris, Many thanks. I managed to get a DB660/850 filter and should have my camera (Olympus E-M10 Mark II) converted this week. It did cost an a..." | Read more » almost 6 years ago
cfastie "The primary advantage of dual band filters is that they pass much narrower bands of wavelengths than red or blue filters (which also pass NIR). Th..." | Read more » almost 6 years ago
Corymbia "Hi, thanks for the post. I'm planning to re-convert my NIR-adapted camera (currently with a blue filter) due to its rather poor performance in dete..." | Read more » almost 6 years ago
bvdt_24h " https://chamsocdidong.com/ " | Read more » almost 6 years ago
nedhorning " Nice photos. I suggest using lighting conditions similar to those for the photos you plan to take. Once you get the white balance routine down it'..." | Read more » almost 6 years ago
cagiva " @nedhorning, actually your question/suggestion fixed the calibration. After switching to "Auto" to take a picture to compare and switching back to..." | Read more » almost 6 years ago
nedhorning "Do the images you acquire using "Auto" mode look the same or very similar to the ones you acquire using the custom white balance? " | Read more » almost 6 years ago
cagiva " @nedhorning, I'm actually using the "Custom" option following the steps shown here, but using the Red calibration card. " | Read more » almost 6 years ago
cfastie "A few different cameras were used to take those photos. Most of the cameras were Canon PowerShots. I think all of the photos were saved by the came..." | Read more » almost 6 years ago
nedhorning " Hi: It looks like you are using "Auto" mode when taking the photo. I don't have this camera but I found this web site that might help: https://sup..." | Read more » almost 6 years ago
MaggPi "Just to close out this question, updated colormap info is at: https://publiclab.org/notes/MaggPi/01-14-2019/updated-image-sequencer-colormaps " | Read more » almost 6 years ago
sjmanosalvas " Hello @cfastie , It's a good post, you have good photos. I'm new in photo monitoring. I have a question which camera do you use to take this imag..." | Read more » almost 6 years ago