Loading [MathJax]/extensions/tex2jax.js

You are here: Start » Program Examples » Inset Distances

Inset Distances

Aim:

The task is to devise an algorithm that would compute the distance between ridges.

Input:

A set of images with variable positions of the object as in the picture below:

Output:

Detected ridges in the image with the computed distance between them (the width of a gap):

Hints:

As the position of ridges slightly changes, think of a way to locate the ridges without using the Template Matching technique. You could use some other part of the image to find its alignment. Using the Region Analysis, it is possible to determine the location of holes and, based on this information, to create a local coordinate system.

Labeling connections is explained in this article.

Solution (FIS):

►Click here to show the solution.

Used Filters

►Click here to show the filters list.

Further Readings

  • 1D Edge Detection - The article explaining how edge detection filters work.
  • Array - Link to all operations based on arrays in FabImage Studio.
  • Blob Analysis - Article presents detailed information about the Blob Analysis technique.
  • Local Coordinate Systems - This article describes basic concept of using the coordinate systems.