Add some tests on different variations of Hough algorithm.
[master-thesis.git] / src / Tests_hough / show_figures.m
diff --git a/src/Tests_hough/show_figures.m b/src/Tests_hough/show_figures.m
new file mode 100644 (file)
index 0000000..ed6de4e
--- /dev/null
@@ -0,0 +1,9 @@
+function [hlink] = show_figures(name, images, original, ellipses)    
+    [hlink, axes] = show_votes_figure(name, images);    
+    draw_ellipses(axes(4), ellipses, true);
+    savefig(['results/' name '.fig']);
+
+    show_image_ellipses(name, original, ellipses);
+    savefig(['results/' name ' - output.fig']);
+end
+