Pieces Classification

The objective is identify the Rings, T-pins and Nails from the image. The idea is to detect morphological features of the objects: Rings have holes, T-pins have a 'T' like crossing in its skeleton and the Nails are the rest.

Original image

Filtered Image

skeleton image

skeleton without end-points

reconstruction with filtered image

Rings: intersection with original

skeleton - filtered rings

pruning 10 pixels from end-points

Detection of triple point of skeleton

reconstruction with filtered image

intersection with original: T-pins

The rest: nails


workspace: pieces-classification.wk