Want to talk about soil? Join us for Open Call every Tuesday until Mar. 30 and our kick-off call on this topic on Feb. 2! Click here for details on how to join!

Public Lab Research note

Bringing Public Lab’s multispectral image processing to Leaflet maps

by warren | August 27, 2019 19:58 27 Aug 19:58 | #20695 | #20695

For a few years now, Public Lab's open hardware community has been developing not only DIY tools for taking multispectral photos, but also software tools to process and analyze these photos---the Infragram project, and more recently the Image Sequencer project. These have enabled many people to take multispectral (near infrared/visible) imagery and do NDVI plant health analysis at home, on a shoestring budget.image description

Above, converting a Canon A480 to take multispectral photos: https://publiclab.org/n/9985 (@chernabog)

Now we've released a standard Leaflet plugin, called Leaflet.Multispectral to make it possible to do image processing of multispectral imagery within a Leaflet map, in pure JavaScript:image description

(This library was made possible in part by NASA's AREN project)

We hope that this library makes it easier to get started for people looking to work with multispectral imagery, whether you're teaching it in a classroom, taking your own aerial multispectral imagery, or making use of NASA's amazing imagery resources.

The online demo demonstrates how you can use different colormaps, processing algorithms, and so forth, with your image overlay.image description

(Note I haven't aligned the above images at all, so they're just floating. Sorry!)

Learn about multi-band imagery and some of it's uses at this great blog post by Charlie Lloyd of Mapbox:


To get started, you can find some sources of multispectral Landsat 8 data here:


While this library is intended for NRG or near infrared images used as overlays, we have more plans for this technique---coming soon... Leaflet.TileFilter -- a project to apply the same principles to full map tile layers!


Hi this is very interersting! @warren

Reply to this comment...

Very interesting indeed!

Reply to this comment...

Login to comment.