CIS 601 Spring 2007

Homework 5: Find the Gear


I found the following image in a description of a very old patent proposal. Can you write a program that not only finds the toothed-wheels but can tell you how many wheels they have?
Here's the image:

The result should show the 2 gears only (especially: not the disc on the right side), automatically segmented. Additionally the program should print the number of teeth.

This task combines morphological pre-processing with 1D fourier analysis. It's a typical task e.g. for quality control. There are 2 MATLAB functions you might want to look up:

This task has a lot in common with the demo program 'Fourier Shape Descriptors'. Pease download it and look at the sources. You probably could use some of the functions provided.


Good luck !