Measures of Edge Detection

version (269 KB) by Pushpajit Khaire
Measures Edge Detection Using PR and F-Measure


Updated 8 Dec 2016

View License

This Program Compares Edge Detection methods ( Canny and Sobel) using Ground Truth of images( BSD images and Ground Truth).
Comparison is done using two parameters (PR and F-Measure), Higher the values of evaluation parameters, reflects better Edge Output.
In Ideal Case(Evaluated for ground truth) Maximum value of PR is infinity and F-measure is 1.
1. Select Image Folder
2. Select Ground Truth Folder
The part of the code is based on the research paper, If you are using this code in your research work then please cite the paper, "A Fuzzy Set Approach for Edge Detection", International Journal of Image Processing (IJIP) , Volume 6, Issue 6, 2012. (Link)

Cite As

Pushpajit Khaire (2022). Measures of Edge Detection (, MATLAB Central File Exchange. Retrieved .

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

Inspired by: Comparison of Edge Detectors

Community Treasure Hunt

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

Start Hunting!