Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uva
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
uva
Commits
87c7ff7c
Commit
87c7ff7c
authored
13 years ago
by
Taddeüs Kroes
Browse files
Options
Downloads
Patches
Plain Diff
improc ass4: Added Cany edge detector file.
parent
75be7679
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
improc/ass4/canny.py
+20
-0
20 additions, 0 deletions
improc/ass4/canny.py
with
20 additions
and
0 deletions
improc/ass4/canny.py
0 → 100644
+
20
−
0
View file @
87c7ff7c
#!/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
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment