X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=src%2FTests_hough%2Fshow_image_ellipses.m;fp=src%2FTests_hough%2Fshow_image_ellipses.m;h=229d5248f0a784c2e62a87775025130c4e11dcfe;hb=0ff8fb82457bd5a858b2218ab07f69c81323537e;hp=0000000000000000000000000000000000000000;hpb=c6fe9d606eff98fc73b75f23e02a9fd436458ed0;p=master-thesis.git diff --git a/src/Tests_hough/show_image_ellipses.m b/src/Tests_hough/show_image_ellipses.m new file mode 100644 index 0000000..229d524 --- /dev/null +++ b/src/Tests_hough/show_image_ellipses.m @@ -0,0 +1,11 @@ +function show_image_ellipses(name, img, ellipses) + f = figure; + f.Position = [10 10 700 700]; + f.Name = name; + grayscale = linspace(0, 1, 255); + colormap([grayscale' grayscale' grayscale']); + image(img); + axis image; + draw_ellipses(f.CurrentAxes, ellipses, false, true); +end +