Chair for Applied Software Engineering Lehrstuhl für Angewandte Softwaretechnik

Home  |  People  |  Projects  |  Teaching  |  Publications  |  Internal  |  Changes  |  Index Software Engineering  |  Search

Centroidal Profile

About the algorithm

The centroidal profile algorithm is described in the paper Recognising Objects by their Silhouette. A short summary follows.

Profile generation

A centroidal profile is generated as follows.

  • You calculate the center, orientation, and circumference of the region.
  • You go around the circumference of the region, starting at the point closest to the main axis. If there is more than one point (can happen for concave regions), you take the one farthest from the center. You take n equidistant points from the circumference.
  • For each of those points you calculate the distance to the center.
  • The centroidal profile consists of the normalized distances.

Profile comparison

  • You can only compare profiles with the same number n of points.
  • Sum up the squares of the differences of the sample points. This yields a number 0 <= diff < n with 0 indicating a perfect match.

New: Centroidal profile framework

ImageTest?

Here is an application for testing the centroidal profile algorithm.

Get the following files:

and install the application on your iBook as described in this text file:

For a short introduction, read this:

PostureRecognizerTest?

This is an extended version of ImageTest?. It has a simple segmentor built in that can deal with some test images I have made. These test images are real photos of me taken with the iSight. I tried to be really white in front of a green background, so that segmentation would be easy. wink

The installation procedure is analogous to that of ImageTest?.

Get the following files:

and basically do the same as for ImageTest?:

The UI looks almost the same, with the following differences:

  • You can use the open dialog to load a set of models. You can still drag them onto the model display. For test images, this is the only way to get them into the program.
  • You can now choose whether to display the original image or the result of the segmentation, which is actually used to do the comparison.

I really hope this is useable. wink

-- SebastianHans - 17 Sep 2004

Show attachmentsHide attachments
Topic attachments
I Attachment Action Size Date Who Comment
elsebz2 ImageTest.tar.bz2 manage 23.6 K 06 Dec 2006 - 16:14 Main.hanss The ImageTest? application
elsebz2 ImageTest_with_frameworks.tar.bz2 manage 32.6 K 06 Dec 2006 - 16:14 Main.hanss ImageTest? using the new frameworks
elsepatch OpenCV-0.9.5-iBook.patch manage 11.8 K 06 Dec 2006 - 16:14 Main.hanss OpenCV? patch for the iBook
elsebz2 libcentroidal_profile-0.1.0.tar.bz2 manage 206.1 K 06 Dec 2006 - 16:14 Main.hanss The centroidal profile library
elsebz2 OpenCV-0.9.5.tar.bz2 manage 8914.8 K 06 Dec 2006 - 16:14 Main.hanss The OpenCV? library
elsebz2 test-images-white_on_green.tar.bz2 manage 9976.2 K 06 Dec 2006 - 16:14 Main.hanss Test images for PostureRecognizerTest?
elsebz2 CentroidalProfile.tar.bz2 manage 13.0 K 06 Dec 2006 - 16:14 Main.hanss CentroidalProfile? Framework
elsebz2 test-images.tar.bz2 manage 5.8 K 06 Dec 2006 - 16:14 Main.hanss Test images for ImageTest?
elsebz2 PostureRecognizerTest.tar.bz2 manage 27.6 K 06 Dec 2006 - 16:14 Main.hanss The PostureRecognizerTest? application
elsebz2 PostureRecognizerTest_with_frameworks.tar.bz2 manage 28.3 K 06 Dec 2006 - 16:14 Main.hanss PostureRecognizer? using the new frameworks
elsetxt Installing_PostureRecognizer_on_the_iBook.txt manage 2.5 K 06 Dec 2006 - 17:40 Main.hanss Installation instructions for PostureRecognizerTes?
elsetxt Installing_ImageTest_on_the_iBook.txt manage 2.4 K 06 Dec 2006 - 17:40 Main.hanss Installation instructions for ImageTest?
elsetxt The_ImageTest_GUI.txt manage 3.9 K 06 Dec 2006 - 17:40 Main.hanss Short introduction to ImageTest?

 

Lehrstuhl: CentroidalProfileFa2004 .
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
r4 - 17 Sep 2004 - 18:48:00 - Main.hanss
Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding the website? Send feedback