image thumbnail

MATLAB codes for canopy image analysis

version (164 KB) by Lauri Korhonen
Codes for thresholding skyward-looking canopy images and calculating proportion of canopy pixels.


Updated 1 Aug 2009

View License

These codes were used in preparation of manuscript Korhonen, L. & Heikkinen, J. 2009. Automated analysis of in situ canopy images for the estimation of forest canopy cover, Forest Science 55(4): 323-334. The codes can be used to threshold skyward-looking canopy images with a edge-detection based method by Nobis & Hunziker (2005), and to separate of within- and between-crown gaps with morphological operations. Finally percentage of black pixels is calculated. More information: cccodes.htm (included in the zip file).

Authors: Jaakko Heikkinen and Lauri Korhonen.

Cite As

Lauri Korhonen (2022). MATLAB codes for canopy image analysis (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!