Loading [MathJax]/extensions/tex2jax.js

TOP » 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.

Labeling connections is explained in this article.

Solution (AVS)

►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.

その他の資料

  • 1D Edge Detection - The article explaining how edge detection filters work.
  • ブロブ解析 - Article presents detailed information about the Blob Analysis technique.
  • 画像処理 - 画像処理に関する包括的な紹介。