next_inactive up previous
Up: To my home page

A Matlab implementation of HSM

Andrea Censi

June 8, 2005


Contents

Introduction

This document describes the Matlab implementation of an algorithm called Hough Scan Matching. The algorithm's goal is to find the roto-translation which makes two sets of bidimensional data overlap.

More information about HSM is in

The online version of this file and of the software package is at at my home page (or see the mirror at censi.org)

About the code

I am by no means a Matlab expert and when I had to choose I maximized readability over speed. Therefore it runs incredibly slow with respect to the original C++ implementation.

I wrote the code on Matlab 7; it should not need any additional toolbox, with the exception of the Image Processing toolbox to read an image from file in one of the examples.

Contents of the package

There are some small test-$\star$ files which produce some nice output: I suggest to read them in order.

This is where the action takes place:

These files are support files used by doHSM.m

Test pattern generation:

Graphics routines:

Commented experiments

I would like to comment on some of the experiments. Every test file produces both EPS and PNG output. You see in this document the PNG output. I suggest when running the examples to look at the EPS output which is much better than the on-screen figures.

testEllipse.m

The goal of this test is to show that even tough the algorithm operates in the Hough Domain it doesn't rely on the presence of lines.

Note the two symmetric hypotheses for $\phi$; this is a limitation of the algorithm which reports the correct solution $\phi$ AND the solution at $\phi+180^\circ$ In this case it is also an ambiguity in the data.

Image testEllipse-phi Image testEllipse-t

testPoints.m

The goal of this test is to show how the algorithm performs with very sparse and noisy data.

Image testPoints-phi Image testPoints-t

testImageHolmes.m

Altough we developed HSM for localization, laser range finder data is boring. This shows how the algorithm performs with image-like data sets.

Note the effect of the gaussian noise of the input data on the Hough Spectrum.

Image testImageHolmes-phi Image testImageHolmes-t

About this document ...

A Matlab implementation of HSM

This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.71)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -dir html-docs -split 0 -up_url 'http://www.dis.uniroma1.it/%7ecensi/' -up_title 'To my home page' index.tex

The translation was initiated by Andrea Censi on 2005-06-08


next_inactive up previous
Up: To my home page
Andrea Censi 2005-06-08