Photo Monitoring Plugin
Ned Horning (read original announcement here) has released an open source plugin for the cross-platform ImageJ. It can produce NDVI composites from infrared and visible image pairs as well as single camera infrared filtered images.
The photo monitoring plugins are written to work with Fiji image processing software (http://fiji.sc/wiki/index.php/Fiji) and they will also work with ImageJ the software on which Fiji is based. These plugins are designed to improve the efficiency and effectiveness of using infrared photos for monitoring vegetation. The plugins support dual-camera setups with one camera acquiring a "normal" visible color digital photo and the other acquiring a near-infrared digital photo and also support single camera setups such as infrablue and super-red cameras. The plugins provide good control of the final appearance of images via increasing the dynamic range (histogram stretching) and selecting a range of index values.
There are currently four plugins: 1 - The Create dual image list plugin is designed to facilitate the process of matching digital photographs that were acquired at roughly the same time. The plugin outputs a text file with the path and file names for image pairs (e.g., images acquired from two cameras) that can be input into the "Dual image NDVI processing" plugin. The image matching is done by synchronizing the times stored in image EXIF DateTimeOriginal tag from each of two cameras. If for some reason the EXIF DateTimeOriginal tag is not set then the files last modified time will be used.
2- The Dual image NDVI processing plugin is designed to co-register two images, one using a near-infrared camera and the other a “normal” visible camera. The plugin will work best if the images were acquired from two cameras mounted with their lenses close to each other, acquired at nearly the same time (so the scene hasn't changed), and it's best if the two cameras have similar characteristics such as image size and resolution. The plugin can output the following:
- False-color infrared (CIR) image with near infrared (NIR) displayed as red, red displayed as green, and green displayed as blue
- Normalized difference vegetation index (NDVI) image with a user-selected color table applied
- Difference vegetation index (DVI) image with a user-selected color table applied
- Floating point NDVI image with actual NDVI values in each pixel (data range -1 to +1)
- A visible image clipped to the common area between the registered near-IR and visible image
- A log file documenting the registration method used for each image pair
3- The Single image NDVI from directory plugin is designed to create color and floating point NDVI images from a directory containing images that recorded visible light in one band and near-infrared light in another. These images can be captured using the SuperBlue filter available from LifePixel (http://www.lifepixel.com/) or an infrablue or super-red filter from Public Lab.
4- The Single image NDVI from displayed image plugin is designed to create color and floating point NDVI images from an image displayed in ImageJ/Fiji that recorded visible light in one band and near-infrared light in another. These images can be captured using the SuperBlue filter available from LifePixel (http://www.lifepixel.com/) or an infrablue or super-red filter from Public Lab.
- Download on GitHub: https://github.com/nedhorning/PhotoMonitoringPlugin/tree/master/downloads
- View source on GitHub: https://github.com/nedhorning/PhotoMonitoringPlugin
- Download ImageJ: http://rsb.info.nih.gov/ij/
- Download the friendlier Fiji version of ImageJ: http://fiji.sc/wiki/index.php/Fiji
Color lookup tables (luts)
These files assign colors to values in NDVI images created by the photo monitoring plugin. There are several luts already installed in ImageJ or Fiji, but the ones below were developed by the Public Lab community for displaying NDVI results. Copy these files into the \Fiji\Fiji.app\luts directory (in Program Files in Windows), and I guess to .../Applications/Fiji.app/luts on Mac. Then select a lut from the dropdown menu in the plugin interface.
- NDVI_VGYRM.lut This lut maintains detail in the non-plant areas of a scene (NDVI = -1.0 to +0.1) which are grayscale. It colors photosynthesizing areas (NDVI = 0.1 to 0.9) with a heat map from violet to green to yellow to red. Off scale NDVI values (NDVI = 0.9 to 1.0) are colored magenta. More about this lut here.
Copy the image above to use as a key to your NDVI images.
NDVIBlu2Red.lut This lut has been used frequently for NDVI in Public Lab research notes, but the one above is probably more useful: All pixels with NDVI values below zero are colored blue. This lut will not distinguish different NDVI values between 0.1 and 0.9 as well as the one above. Below is a key to the lut above for pasting into your finished NDVI image so people have some idea what the colors mean:
NDVIBlu2RedWB.lut The lut below is similar to the one above, but assigns black to any pixels with the value 255 (maximum NDVI) and white to any pixels with the value 0 (minimum NDVI). It is sometimes good for troubleshooting: