Loading [MathJax]/extensions/tex2jax.js

You are here: Start » Program Examples » Pins

Pins

Aim:

The task is to measure distances between consecutive pins and determine how far away they are from the center.

Input:

An image in which pins are present.

Output:

A set of measured distances and an image where the measured distances are drawn.

Hints:

The pins are the brightest elements of the image, as well as the smallest. Using the ImageLocalMaxima filter would allow you to find their locations. To measure distances, the PointSequenceDistances can be used.

Solution (FIS):

►Click here to show the solution.

Used Filters

►Click here to show the filters list.

Further Readings

  • Shape Fitting - This article presents usage of the Shape Fitting technique.