Leaf Shape Extraction

Version 1.0.0.0 (913 KB) by Manu BN
A Matlab code to extract the shape of leaves
1.2K Downloads
Updated 27 Jan 2016

View License

A Matlab code is written to extract the shape of leaves using Sobel, Canny, Prewitt and Roberts filters. Change the threshold values of ech to get better results, as I have used the ones given in the paper.
How to run ??
1. Place the folder in Matlab path, add all the folder and subfolders to the path.
2. Run LeafShapeExtract.m
3. Select an image from the Leaf Dataset
4. Observe results on command window

The code is based on the paer below, please cite and give credit to the authors:
[1] Amlekar, M. M., et al. "Leaf shape extraction for plant classification." Pervasive Computing (ICPC), 2015 International Conference on. IEEE, 2015.

Suggestions and comments are always welcome,

Thanks in advance,

Manu B.N

Cite As

Manu BN (2024). Leaf Shape Extraction (https://www.mathworks.com/matlabcentral/fileexchange/55110-leaf-shape-extraction), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
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!
Version Published Release Notes
1.0.0.0