projekty
/
imago.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9cacba9
)
removed some unused code
author
Tomas Musil
<tomik.musil@gmail.com>
Thu, 11 Oct 2012 21:24:51 +0000
(23:24 +0200)
committer
Tomas Musil
<tomik.musil@gmail.com>
Thu, 11 Oct 2012 21:24:51 +0000
(23:24 +0200)
imago.py
patch
|
blob
|
history
diff --git
a/imago.py
b/imago.py
index
81aa1ac
..
decc7a6
100755
(executable)
--- a/
imago.py
+++ b/
imago.py
@@
-115,18
+115,6
@@
class imsave():
image.save(filename, 'JPEG')
self.saving_num += 1
-def combine(image1, image2):
- im_l1 = image1.load()
- im_l2 = image2.load()
-
- on_both = []
-
- for x in xrange(image1.size[0]):
- for y in xrange(image1.size[1]):
- if im_l1[x, y] and im_l2[x, y]:
- on_both.append((x, y))
- return on_both
-
def intersections_from_angl_dist(lines, size):
intersections = []
for (angl1, dist1) in sorted(lines[1], key=itemgetter(1)):