Public Lab Wiki documentation



GMF 2 infrared camera feature

This is a revision from July 03, 2012 14:37. View all revisions
3 | 13 | | #2541

infrared camera hack poster sketches

Jeff W/Chris F are working on this feature for the upcoming Grassroots Mapping Forum. Sourcing a lot from: http://publiclaboratory.org/wiki/dual-camera-kit-guide, images from: http://publiclaboratory.org/notes/warren/5-17-2012/infrared-camera-how-guide-gm-forum

Current draft

Based on input from Mathew, a shorter piece more based on introduction:

GMF dual infrared camera feature sketchDual camera juice bottle rig

Wetlands and farm mapping

Plant health & color

One way to measure plant health is to compare the amount of red light reflected by foliage to the amount of infrared light reflected. Plants are green because leaves reflect green light -- they don’t use it for photosynthesis, and they also reflect almost all infrared light (Figure 1). Instead they use the blue and red wavelengths which are absorbed by the pigments in the leaves. The bigger the difference between the "redness" and the "infrared-ness" of the light reflected from a plant, the more the plant is photosynthesizing, and the healthier it is. The PLOTS IR camera tool allows us to compare how much red light and infrared light are reflected from plants and produce an index of how healthy or stressed the plants are.

Hacked DIY Infrared cameras

To measure photosynthesis, then, you can compare an infrared photo with a regular "visible light" photo of exactly the same view. We've begun hacking cheap digital cameras by removing their "infrared block" filters, which are deep inside, right against the sensor. Canon cameras (the A490/A495 especially) are easy to modify in about 10-15 minutes, and we've published a YouTube video on the process (see links below).

We replace the IR-block filter with a piece of exposed color film negative -- just buy a fresh roll of color film, expose the whole roll by pulling it out of its canister, roll it up and have it made into negatives -- the whole thing should cost you ~$8. Then carefully cut out a clean piece (no fingerprints!) identical in size to the filter you removed and place it where you removed the IR-block filter. This will block all visible light, but is transparent to infrared light. Reassemble the camera and you can take infrared photos!

(Try photographing the rest of your film negatives -- they'll be transparent to the camera!)

Combining images from two cameras

Since infrared light is invisible to us, we have to use a different color -- red -- to represent it. More importantly, you need to take matching photos with a second, unmodified camera, and exactly align the visible and infrared photos -- "compositing" them with Photoshop, GIMP, or automated scripts currently in development (see links below).

Interpretation

Many factors can make a plant healthier than one growing next to it: more water, more soil nutrients, fewer pests, less competition, or just the inherent ability of some species to photosynthesize more than others.

Contributors welcome!

Our work is far from complete -- many steps are difficult or time consuming, and we need your help to:

  • streamline and simplify the process of taking infrared photos
  • experiment with infrared mapping techniques by making more infrared maps
  • help people interpret infrared images

To learn more and get involved, see:

http://publiclaboratory.org/tool/near-infrared-camera (a page which needs revision) http://publiclaboratory.org/wiki/dual-camera-kit-guide (a newer page which could be merged with the above)


Older, longer outline

Six small features organized around a central large graphic (see above sketch) on an approx 11x17 area.

1. Science background

2. A second camera to capture NIR

  • How to modify a camera (YouTube vid, illustrations)
  • How to mount two cameras
  • image heavy section...

3. Triggering the cameras in flight

  • Simple version: rubber bands or independent intervalometers/CHDK
  • Advanced: Simultaneous triggering makes post-processing much easier
    • CHDK to enable synchronous remote via USB on Canon Powershots
    • USB cable mod, MK111 timer

4. Matching and compositing images

  • Synchronize the cameras’ clocks
  • Capture jpgs
  • Identify NIR/VIS photo pairs via timestamps
  • Use Ned’s Fiji macro (requires well-overlapped, sharp photos, and good organizational skills)
  • Make structure from motion models in Hypr3D
  • Stitch images in MS ICE or GIMP
  • Align images over a georeferenced map with MapKnitter

Advanced: To produce more precise results (link to web page):

  • Synchronize the cameras’ clocks
  • Capture RAW, convert to Tiff (need CHDK, big partitioned cards, RAWTherapee (e.g.), big hard drive)
  • Identify NIR/VIS photo pairs via timestamps
  • Use Ned’s Fiji macro
  • Interpret pixel-level results (or almost)
  • Make structure from motion models in Hypr3D or 123D Catch
  • Stitch images in MS ICE, GIMP, or Agisoft PhotoScan (allows GPS control)
  • Align images over a georeferenced map with Mapknitter

5. Interpretation

  • One-time maps can reveal side by side differences in plant growth or health (Lee, NH)
  • Time series of NDVI can reveal seasonal or year to year trends in plant growth and health (TBD)
  • examples?

6. Conclusion

  • online resources
  • how to get involved