Loading [MathJax]/extensions/tex2jax.js

You are here: Start » Program Examples » Waffles

Waffles

Aim:

The aim of the program is to separate waffles with a proper amount of chocolate from the damaged ones.

Input:

Several images of waffles. The amount of chocolate on the waffles is variable.

Output:

An image with its inspection result (OK or NOT OK) and a rectangle indicating the border between the chocolate and waffle area.

Hints:

Waffles can be located by thresholding to a region. To check whether the chocolate has spilled out of the border area, a region of interest has to be reduced by performing a morphological erosion on the region corresponding to the waffle.

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

  • Blob Analysis - Article presents detailed information about the Blob Analysis technique.