Skip to content

The Marr-Hildreth edge detection algorithm in Python and NumPy

License

Notifications You must be signed in to change notification settings

gpapadok/marr-hildreth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marr-Hildreth Edge Detection

The Marr-Hildreth algorithm implemented in Python with NumPy.

Usage as CLI tool

Install with:

pip install 'marr-hildreth @ git+https://github.com/gpapadok/marr-hildreth.git'

Run:

marr lena.jpg

Note: Marr-hildreth is an outdated algorithm and this implementation is inefficient for large images or large values of sigma of the Gaussian. Purely for educational purposes.

Lena| Lena edges

Source: https://en.wikipedia.org/wiki/Marr%E2%80%93Hildreth_algorithm