Above: It should be pretty easy for a DIY NDVI image to differentiate between things in this scene that are green plants and things that are not.
In my quest to get good NDVI images from an Infragram-modified Mobius ActionCam, I previously found white balance settings that produced photos with color histograms like the ones for good Infragrams taken by Infragram-modified Powershots. I used the program mSetup on Windows to install the white balance settings on the Mobius via USB (Mac and Android solutions are also on that page). Yesterday I took a series of test photos to see if those white balance settings produced useful photos.
I took photos of the test scene in the topmost image with these five cameras. The four PowerShots have internal filters and the Mobius has no internal IR filter but has a holder for filters in front of the lens. All cameras have plates for easy attachment to a Manfroto tripod.
.
The dual camera system with an unmodified A495 and a pure near-infrared A495 generally produce the best DIY NDVI images I have seen. So that result is presented below as the benchmark. Ned's Fiji plugin was used to align the two photos and compute NRG and NDVI values for each pixel after stretching both histograms (parameter=2). This stretch parameter, and the same color table, were used on all of the NDVI images below, and no other adjustments were made on any of the photos or NDVI images.
.
Photos from an unmodified A495 (top left), a pure NIR A495 with Wratten 87 filter (top right), and a false color infrared image (NRG) and Normalized Difference Vegetation Index image (NDVI) derived from those two photos. Green plants are well differentiated from non-plants in the NDVI image. This is a high resolution image, right click to enlarge in new tab.
.
The Infragram-modified PowerShot A2200 with Wratten 25A filter produced an NDVI image that differentiated plant and non-plant about as well as the dual camera system. This camera was white balanced on red origami paper in full sun, and was used in the calibration of the white balance settings for the Mobius.
.
Super-red Infragram photo from a Canon A2200 and the NDVI image derived from that single photo.
.
The Infragram-modified PowerShot A2200 with glass BG3 filter also produced an NDVI image very similar to the one from the dual camera system. This camera was white balanced on blue origami paper under blue sky in the shade, and was used in the calibration of the white balance settings for the Mobius. The BG3 filter is similar to the Rosco 2007 filter.
.
Infrablue Infragram photo from a Canon A2200 and the NDVI image derived from that single photo.
.
The Mobius camera with Wratten 25A filter produced an NDVI image that differentiated plant and non-plant about as well as the Powershot Infragram cameras. The white balance setting for the Mobius was the one determined empirically by comparison with histograms of the PowerShot Infragrams. This setting is: red 310, green 500, blue 700.
.
Infrablue photo from the Mobius ActionCam with Wratten 25a filter and the NDVI image derived from that single photo. The Mobius has a a much wider lens than the PowerShots, so these images are cropped for comparison.
.
The Mobius camera with Rosco 2007 filter produced an NDVI image that was quite meaningless. The white balance setting for the Mobius was the one determined empirically by comparison with histograms of the PowerShot Infragrams. This setting is: red 690, green 500, blue 240. The NDVI image sort of differentiates between plant and non-plant, but NDVI values are consistently higher for non-plants than for plants, which seems to be a serious flaw. I don't yet understand what's happening here, but the process of determining white balance settings that worked for the red filter gave very different results for the blue filter.
.
Infrablue photo from the Mobius ActionCam with Rosco 2007 filter and the NDVI image derived from that single photo. The Mobius has a a much wider lens than the PowerShots, so these images are cropped for comparison.
.
I tried several combinations of white balance settings and also tried a Wratten 47B filter (not shown), but did not find a combination that produced useful NDVI images. I also have not come up with a hypothesis to explain the failure of a blue filter to produce usable NDVI information when a red filter works very well.
.
NDVI images with different white balance settings in the Rosco 2007 Mobius ActionCam. NDVI values for non-plants are generally higher than for plants. The lower right image has this pattern somewhat reversed and is the best version I have produced.
.
It might be possible to find settings that produce somewhat better results with a blue filter. But a red filter seems to work well, and there are other important reasons to use a red filter instead of blue. So the next task is to find a red filter that is less expensive than antique Kodak Wratten 25A gelatin (Rosco Fire, please).
.
A screen capture from mSetup. These are the Mobius settings I used with the Wratten 25A filter.
29 Comments
Chris, re the Mobius Rosco2007 image, some comments and questions. By "meaningless" do you mean that the pine board looks so much like the living plant matter, or that the dead stuff is so positive and the living stuff much less so? One comment, the red channel in that image is about 20% overexposed, mostly on the green growing stuff, but also on the pine board. Might that contribute to them looking the same? (wish I could put an image of the overexposed pixels here, but it can be had at [this link] (https://drive.google.com/file/d/0BzsIfcPtBojNVlpfN0x1V1dtMFE/edit?usp=sharing)
Second, assuming you take NDVI=(NIR-VIS)/(NIR+VIS), which channel do you use as NIR and which as VIS? It looks from some earlier posts that the Mobius blue band is pretty NIR sensitive.
Finally do you have raw versions of these images that I could look at?
Is this a question? Click here to post it to the Questions page.
Reply to this comment...
Log in to comment
Tom,
Yes, meaningless was not the best word choice. The real surprise was that the non-plants consistently had NDVI values higher than plants. That's kind of a deal breaker. The red channel in that Mobius 2007 infrablue photo is definitely the brightest. That is the channel that should contain the highest proportion of NIR (the 2007 filter blocks most red). And you are correct, many pixels in that particular photo have the value 255 in the red channel. The blue channel is also badly underexposed and has lots of pixels with the value 0. For infrablue photos, NDVI uses red for NIR and blue for VIS, so NDVI computes to 1 for many pixels (255-0)/(255+0). So that's why that photo fails for NDVI.
I tried lots of other white balance settings and got much better exposures, including one that actually had higher NDVI for plants. So some better NDVI results are probably attainable using that 2007 filter.
I don't really know if the blue channel in the Mobius is unduly sensitive to NIR. I guess we need some RAW images of LEDs to know for sure.

.
This photo produces the best NDVI of the 45 Mobius infrablue photos I made that day.
.
Pro tip: to insert an image into a comment, start to write a new research note, drag an image into it, and copy the code into the comment. Then close the new research note tab.
.
Chris
Reply to this comment...
Log in to comment