Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
uva
Commits
f0c1703f
Commit
f0c1703f
authored
Oct 06, 2011
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ImProc ass3: Fixed imports for Windows.
parent
662b5313
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
.gitignore
.gitignore
+1
-0
improc/ass3/intersect.py
improc/ass3/intersect.py
+2
-1
No files found.
.gitignore
View file @
f0c1703f
...
@@ -15,3 +15,4 @@ robotica/
...
@@ -15,3 +15,4 @@ robotica/
*.swp
*.swp
*.toc
*.toc
*#
*#
*~
improc/ass3/intersect.py
View file @
f0c1703f
#!/usr/bin/env python
#!/usr/bin/env python
from
pylab
import
zeros
,
imread
from
numpy
import
zeros
from
matplotlib.pyplot
import
imread
def
col2bin
(
color
):
def
col2bin
(
color
):
return
tuple
(
map
(
lambda
x
:
round
(
x
-
1
),
color
))
return
tuple
(
map
(
lambda
x
:
round
(
x
-
1
),
color
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment