NDVI and NRG
activity: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
warren "Also see this page collecting cheap cameras of this type: https://publiclab.org/questions/warren/05-20-2017/cheap-lightweight-gopro-alternatives-fo..." | Read more » over 7 years ago
warren "These or similar cameras are as low as $40 now! https://www.amazon.com/gp/aw/d/B01DG9UMS6/ref=mp_s_a_1_2?ie=UTF8&qid=1497436247&sr=8-2&..." | Read more » over 7 years ago
dbehr "Thx. @cfastie " | Read more » almost 8 years ago
cfastie "Trying slightly different values could yield better results in some situations. CLF_SYSCFG.TXT " | Read more » almost 8 years ago
dbehr "Hi, I have Mobius Infragarm cam for NDVI. I can't locate the White Balance settings for the mSetup program. Can you pls. give the values or a link..." | Read more » almost 8 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 » about 8 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 » about 8 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 » about 8 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 » about 8 years ago
cfastie "I like #4 too. I don't have a good answer for the type of glue. Something thick and quick drying. It does not have to be sticky, it just has to for..." | Read more » over 8 years ago
talha "Thank you very much for your quick and informative answer, Mr. Chris. Among those choices, which one do you suggest? To me, #4 looks ideal (light c..." | Read more » over 8 years ago
cfastie "The new filter can be put several different places: stick it on the front of the lens. Build a frame to hold it in front of the lens: https://pub..." | Read more » over 8 years ago
talha "I'm getting crazy, there is massive amount of talk about mobius conversions but there is no single guidance for converting the mobius for ndvi. I'v..." | Read more » over 8 years ago
Matthew318 "Using a heat gun allowed a clean removal of the filter, much easier than smashing. Would recommend just getting a $20 heat gun from home depot. " | Read more » over 8 years ago
mathew "you may want to connect with @John_Wells and the West Lothian Archaeological Society about filters for identifying underground features. They've b..." | Read more » about 9 years ago
rahulrajias "is it possible to operate/connect 2 pi cameras simultaneously with one pi ??? " | Read more » about 9 years ago
cfastie "Correct. If the Wratten 25A camera requires exposures that are too long, you can just shoot normal photos and use the red channel for VIS (so don't..." | Read more » about 9 years ago
Steven "Ok, so if I understand you correctly, using a standard PiCam with the IR filter un-removed and a Wratten 25A filter added to the PiCam, while takin..." | Read more » about 9 years ago
cfastie "If you use the Fiji plugin to make NDVI, you will not need the techniques in the video above. The plugin does the comparison of NIR and VIS for eac..." | Read more » about 9 years ago
Steven "Thanks, that's helpful . Yes, it is possible to operate two PI cameras from one Pi (though I'm still sorting through the debate/speculation about t..." | Read more » about 9 years ago
cfastie "Can you operate two Pi cameras from one Pi? If so, you should be able to trigger the shutters simultaneously which is important. The Pi NoIR could ..." | Read more » about 9 years ago
tonyc "Pat, we have an option to have different lenses installed at the factory. They are asking for a sample lens, and specs on what we'd want to have in..." | Read more » about 9 years ago
Steven "Yes, a long exposure wouldn't be practical because of the instability of the platform the camera would be on (cost is also a limiting factor). My t..." | Read more » about 9 years ago
cfastie "There are a few options for getting both a visible light image and an NIR image of the same scene. The DIY approaches vary in their ability to dist..." | Read more » about 9 years ago