Public Lab Wiki documentation



NDVI and NRG

7 | 29 | | #66

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 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

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

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

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

Purpose Category Status Author Time Difficulty Replications
Low cost NDVI analysis using RaspberryPi and PiNoIR - - @petter_mansson1 - - 0 replications: Try it »
Video tutorial: Creating false-color NDVI with aerial wetlands imagery - - @warren - - 0 replications: Try it »
Conversion of 4k sport camera for NDVI analysis with UAVs - - @azaelb - - 1 replications: Try it »
Video tutorial: Creating infrared composites of aerial wetlands imagery - - @warren - - 0 replications: Try it »
Getting started with infrared photography on Infragram.org - - @warren - - 3 replications: Try it »
Mobius IR conversion - - @cfastie - - 0 replications: Try it »
Prototype: filter map tiles in real-time in a browser with ImageSequencer (NDVI Landsat) - - @warren - - 0 replications: Try it »
Mobius non-fish-eye lens conversion - - @patcoyle - - 0 replications: Try it »
Use Image Sequencer for NDVI plant analysis with a modified mini sport camera observe review-me @warren 15m easy 0 replications: Try it »

Activities should include a materials list, costs and a step-by-step guide to construction with photos. Learn what makes a good activity here.


IMG_0511-split.png

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


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

This diagram explains the swapping, which allows us to 'see' infrared as if it were a normal color:

5396083368_40528d3da2_o.png

In NRG images, the deeper and clearer the red color, the denser and healthier the vegetation (more or less).

Questions

Title Author Updated Likes Comments
Infrared camera @eduardo_gamosa about 2 years ago 0
Question about NDVI white balancing @Peve over 2 years ago 0
Run infragram offiline (whitout online analysis) @elucasfreitas over 2 years ago 2
Why Red filter results are blurry compared to Blue filters? @shahdharam7 about 3 years ago 2
Can NOIR camera distinguise different types of leaf? @shahdharam7 about 3 years ago 3
NDVI image issues from GoPro 3+ Silver @jeffa_plain about 3 years ago 9
Is my NDVI image correct? @Rick88 about 3 years ago 0
Why the color of Infragram picture is different from what I take with my Raspberry Pi using Picamera API @iman over 3 years ago 4
Counter-intuitive NDVI values in drought-stressed plants? (RPi NoIR v.2 with a red filter and artificial lighting) @tumakin about 4 years ago 5
How to find the sweet spot for manual white balance settings using Pi NoIR and a blue filter with artificial (full spectrum) lighting @patalbright about 4 years ago 11
NDVI with a 2 camera setup @karunv about 4 years ago 2
NDVI Image Captures Non-Plant Objects @velahs over 4 years ago 4
Does anyone know the upper spectrum range of the Pi NoIR Camera V2? @justin_bauer over 4 years ago 1
Is there a way to convert an infrared video footage to NDVI? @sam14 over 4 years ago 2
Can I use the infragram.org for my thesis? Thanks! @tooooopher05 almost 5 years ago 4
How can I make IR photos derived from various cutoff useful for creating NDVI (normalized difference vegetation index) images? @lev29 almost 5 years ago 7
Can you modify a drone's camera for ndvi pictures? @Bronwen about 5 years ago 2
Feasibility-check: NDVI analysis of moss @zomb23 about 5 years ago 3
How to design a camera for calculating ENDVI. @nickyshen0306 over 5 years ago 5
Need help to reduce the Blue in mobius point and shoot camera @Muneeswaran over 5 years ago 5
What is the working principle of Blue/Red filter @nickyshen0306 over 5 years ago 2
How do I take root and hypocotyl pictures for plant without light influence @Xing over 5 years ago 2
As per my ndvi output like this How can we calculate endvi or ndvi image ? @it13 over 5 years ago 2
AWB_Gains for PiNoIRCamera V2 (Red Filter) @kauemv2 over 5 years ago 3

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 series.


5416397210_5e3be40cf5_o.png

5412520298_93873f36d0_o.png