You are here: Start » Tutorial Exercises » Counting Saw Teeth (count_teeth)
Counting Saw Teeth (count_teeth)
Aim
Create an application that finds the number of blade's teeth.
Input
A single image of the saw blade.
Image is stored in
count_teeth
directory.
Output
The number of teeth.
Hints
The teeth of the blade are located evenly around the mounting hole of the blade.
Locate central mounting point using DetectSingleCircle filter. Measure a blade radius using the measuring distance tool.
Blade teeth can be measured like stripes using ScanMultipleStripes.
Create circular path for scanning path using CreateCirclePath filter. This filter converts geometrical shape to the set of straight segments. It is necessary to select value of inPointCount that will make scanning each tooth possible.
Solution (FIS)
►Click here to show the solution.
Additional Tasks
- Unroll the image along the circular path into a single straight image using ImageAlongPath.
- Find the mounting using the Blob Analysis techniques.
Further Readings
- 1D Edge Detection - The article explaining how edge detection filters work.
- Blob Analysis - Article presents detailed information about the Blob Analysis technique.
- Image Processing - A comprehensive introduction to Image Processing.