File Exchange

image thumbnail

Leaf Shape Extraction

version 1.0.0.0 (913 KB) by Manu BN
A Matlab code to extract the shape of leaves

16 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 (2019). Leaf Shape Extraction (https://www.mathworks.com/matlabcentral/fileexchange/55110-leaf-shape-extraction), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Otherwise plx tell me how to make changes in this to classify between only healthy and unhealthy leaves

Manu BN

Use latest version of WinZip. Change .zipx to .zip and try.
It definitely works, I checked it again.

Eshaal esha

its not going to unzip..or it show an un detectable form after unzipping

Manu BN

Use the latest version of winzip.....In the code alter the thresolds and observe results.

Ali Ibrahim

Unfortunatly couldnt get the MATLB file (Don't have the software to unzip .zipx file).
Any suggestion?

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