Add some tests on different variations of Hough algorithm.
[master-thesis.git] / src / Tests_hough / test_all.m
diff --git a/src/Tests_hough/test_all.m b/src/Tests_hough/test_all.m
new file mode 100644 (file)
index 0000000..5348923
--- /dev/null
@@ -0,0 +1,38 @@
+clear;
+
+images_path = 'D:\Master Thesis\src\Tests_hough\images\';
+image_names = {
+%     'heap_1.png'
+%     
+%     'rbc_single.png'
+%     'rbc_single_blurred.png'
+    
+%     'rbc_single_oblong_1.png'
+    'rbc_single_oblong_2.png'
+%     'rbc_single_oblong_3.png'
+%     
+%     'two_rbc_1.png'
+%     'two_rbc_2.png'
+%     'two_rbc_3.png'
+%     'wbc_1.png'
+%     'wbc_2.png'
+    };
+
+for k = 1:length(image_names)
+    image_name = image_names{k};
+    
+%     test_hough_simple(images_path, image_name);
+%     close all;
+
+%     test_hough_gradient(images_path, image_name, false)
+%     close all;
+
+%    test_hough_ma(images_path, image_name)
+%      close all;
+    
+%     test_hough_ellipses(images_path, image_name);
+%     close all;
+    
+     test_hough_ellipses2(images_path, image_name);
+%     close all;
+end
\ No newline at end of file