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
suman "There's no information about making GoPro first version to full spectrum in the internet...i have done a lot of research in the web and found nothi..." | Read more » over 7 years ago
warren "Can you show a picture of the front and back as well? I think i see a screw, but not sure... " | Read more » over 7 years ago
warren "Hmm, very hard to follow without images, huh? I wonder if there are any YouTube tutorials? " | Read more » over 7 years ago
suman "Found this on the DIYdrones forum :http://diydrones.com/forum/topics/go-pro-camera-near-ir?id=705844%3ATopic%3A767644&page=2#comments But stil..." | Read more » over 7 years ago
suman "Dear Warren, This is the first version of GoPro Hero HD without screen not Hero 2 (although it looks quite similar). Yeah the lens is fixed (no ..." | Read more » over 7 years ago
warren "Via @wildintellect on the plots-infrared discussion list: Replace the lens, there are several aftermarket GoPro lens made for IR. http://stuntcams..." | Read more » over 7 years ago
FrankA "https://youtu.be/Vff--FWRfTo addendum how to file : sorry about the Clip quality.... NEW clip to follow in due course. I realised the Caiibration..." | Read more » over 7 years ago
nedhorning "Hi Jeff - This should be the image. Let me know if this is ok or if I need to post it some other way Ned " | Read more » over 7 years ago
warren "Hi, Ned - do you think you could post the original images from which you generated your NDVI? Thanks! " | Read more » over 7 years ago
suman "i want to buy DYI plant health analyzer filter......i tried to buy from public labs but it's already out of stock. How can i possibly buy it for in..." | Read more » over 7 years ago
azaelb "Thanks warren, I got these cameras from Amazon, vendor digital_family, product ASIN B01FLVPZNY. It is now under $60. On pictures I just had some pi..." | Read more » over 7 years ago
warren "Also do you have any pics you took with the camera to share? Raw and NDVI for comparison? Thank you!!! " | Read more » over 7 years ago
warren "Wow, amazing -- do you have a link to where you can buy this camera, and any data on how much it weighs? It could be a great alternative for people..." | Read more » over 7 years ago
aldrin "Sir, did you use any technique or calibration of pinoircamera's white balance? " | Read more » over 7 years ago
nedhorning "Hi kaushalsingh – The three target reflectance values you note seem like a good choice to me. At this point I do not have study material in additi..." | Read more » over 7 years ago
kaushalsingh "@nedhorning You got it right Ned. I am trying to calibrate the image using a reference target before you calculate NDVI. Suppose, I have 3 target ..." | Read more » over 7 years ago
thechapu "@carolccarvalho mi nombre es Cristofer, soy de Chile. Llevo 2 años usando raspberry y mas de 1 año aprendiendo sobre NDVI, en la Universidad tuve u..." | Read more » over 7 years ago
nedhorning "Hi kaushalsingh – Ait seems as if you are trying to calibrate the image using a reference target before you calculate NDVI? If that assumption is a..." | Read more » over 7 years ago
kaushalsingh "@nedhorning Hello Ned, I have calculated ndvi using following code in matlab, using single camera without white balancing: red_orig = imread('IM..." | Read more » over 7 years ago
cfastie "I have one of the first Mobius cameras that Public Lab bought to test. It has the standard lens. I removed the IR cut filter (note) and then after ..." | Read more » over 7 years ago
abdul "Thanks Chris. I'll try adjusting the white balance a bit, and then posting a research note about it. I'll tag you in it. Do you have one of our new..." | Read more » over 7 years ago
cfastie "Abdul, It is possible that the new lens has different coatings which alter the color balance (red:NIR). This might require an adjustment to the cus..." | Read more » over 7 years ago
abdul "@warren @cfastie So I took a new photograph with the adjusted config file, as I had indeed uploaded the wrong one. The photo looks like this when..." | Read more » over 7 years ago
warren "Abdul - it looks like the config file you're using is not set up with a corrected white balance. This page has the corrected WB required as Chris ..." | Read more » over 7 years ago