Skip to content
Snippets Groups Projects
Commit 87c7ff7c authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

improc ass4: Added Cany edge detector file.

parent 75be7679
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
from matplotlib.pyplot import imread, imshow, show
from scipy.ndimage import quiver
from gauss import gD
def canny(F, s):
pass
if __name__ == '__main__':
from sys import argv, exit
if len(argv) < 3:
print 'Usage: python %s' % argv[0]
exit(1)
s = float(argv[2])
F = imread('cameraman.png')
E = canny(F, s)
imshow(E)
show()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment