X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/2644b4adc0fd0a5c7e8b726c79705f283e37d43f..b0d73e96d68198be32495d7b36505c6d2e3f6810:/imago.py?ds=inline diff --git a/imago.py b/imago.py index 3c4ca56..ff49826 100755 --- a/imago.py +++ b/imago.py @@ -69,7 +69,7 @@ def main(): if verbose: print >> sys.stderr, "edge detection" - im_edges = filters.edge_detection(im_l) + im_edges = filters.edge_detection(im_l, 2) if show_all: do_something(im_edges, "edge detection") @@ -93,7 +93,7 @@ def main(): if show_all: do_something(im_h2, "second high pass filters") - im_h2 = filters.components(im_h2) + im_h2 = filters.components2(im_h2) if show_all: do_something(im_h2, "components centers") @@ -129,8 +129,8 @@ def main(): draw = ImageDraw.Draw(im_line) line_points = set() for line in line_l: - draw.line(line_from_angl_dist(line, im_h2.size), fill=255, width=5) - draw_c.line(line_from_angl_dist(line, im_c.size), fill=(70, 70, 70), width=5) + draw.line(line_from_angl_dist(line, im_h2.size), fill=255, width=7) + draw_c.line(line_from_angl_dist(line, im_c.size), fill=(70, 70, 70), width=7) for p in combine(im_h2, im_line): line_points.add(p) for point in line_points: