Accurate subpixel edge location

Detection of subpixel edges with very high precision in grey level images

5.1K Downloads

Updated 25 Jan 2023

View License

This is the Matlab source code of the sub pixel edge detection method detailed in the paper “Accurate Subpixel Edge Location Based on Partial Area Effect” (if you are interested in the subvoxel version for 3D images just visit this other link).
Several slides explaining the method in this document.
The main folder contains the following files:
- subpixelEdges is the detection method. Type 'help subpixelEdges' for more info
- visEdges is the method for displaying detected edges over the image
- subpixelImage creates a high resolution binary image with the detected edges
- subsetEdges extracts a subset of edges that fulfill condition
- example1 is an example of using the method with a synthetic image
- example2 is similar but using a real image
- example3 uses a big image of a printed text captured by a mobile phone camera
- example4 creates a high resolution binary image for the example 1
- example5 is an example of using the method with a high-noise synthetic image
- example6 is similar but using a real angiography
- subpixelStartGUI is a graphical app to test different features of the method

Cite As

Agustin Trujillo-Pino (2023). Accurate subpixel edge location (https://www.mathworks.com/matlabcentral/fileexchange/48908-accurate-subpixel-edge-location), 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
2.13.3

Laying out the text

2.13.2

All the URLs converted to links

2.13.1

Added reference to the 3D subvoxel detector

2.13

Minor changes

2.12.0.0

Minor updates
Fixed references to external test images

2.11.0.0

Update link with slides explaining the algorithm
Bug solved when non valid edges detected

2.1.0.0

New method subsetEdges to extract a subset of edges that fulfill condition

2.0.0.0

New option to allow several iterations of the method (smoothing + detection + synthetic image creation) for better subpixel edge detection in high-noise images.

1.71.0.0

Added link to slides explaining the algorithm

1.7.0.0

Bug fixed when invalid values are obtained

1.6.0.0

New example4 added

1.5.0.0

Mistakenly marked as toolbox

1.4.0.0

New method subpixelImage to compute a high resolution binary image with the detected edges

1.3.0.0

New method subpixelImage to compute a high resolution binary image with the detected edges

1.2.0.0

New description

1.1.0.0

Update directories belonging on the MATLAB Search Path

1.0.0.0