Image Snapping

version (3.88 MB) by Mahmoud Afifi
A selection tool that snaps user's selection


Updated 4 Jan 2019

View License

This code moves the cursor location to the nearby strong feature in the image to facilitate the process of selecting objects in digital images. For more details, read ReadME file. The code generates the map offline which may take time for the first time; so, please hold on!
The GUI code is written by Michael S. Brown.
This is an implementation of the following paper:
Gleicher, Michael. "Image snapping." Proceedings of the 22nd annual conference
on Computer graphics and interactive techniques. ACM, 1995.
So, if you use it; please cite the original paper.

Cite As

Mahmoud Afifi (2022). Image Snapping (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
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!