620 likes | 750 Views
Skeleton Extrac tion from Binary Images Kalman Palagyi University of Szeged, Hungary. The generic model of a modular machine vision system. Feature extraction. Shape representation. to describe the boundary that surrounds an object; to describe the region that is occupied by an object.
E N D
Skeleton Extraction from Binary ImagesKalman PalagyiUniversity of Szeged,Hungary
Shape representation • to describe the boundary that surrounds an object; • to describe the region that is occupied by an object.
Skeleton • result of the Medial Axis Transform: object points having at least two nearest boundary points; • praire-fire analogy: the boundary is set on fire and skeleton is formed by the loci where the fire fronts meet and quench each other; • the locus of the centers of all the maximal inscribed hyper-spheres.
Skeleton of a 3D solid box The skeleton in 3D generally contains surface patches (2D segments).
Properties: • It represents • the general form of an object, • the topological structure of an object, and • local object symmetries. • It is invariant to • translation, • rotation, and • (uniform) scale change. • It is thin.
Uniqueness The same skeleton may belong to different elongated objects.
Representing local object symmetries and the topological structure
Skeletonization techniques • distance transform, • Voronoi diagram, and • thinning.
Distance transform Input: Binary array A containing feature elements (1’s) and non-feature elements (0’s). Output: Non-binary array B containing the distance to the nearest feature element.
Example: distance map (non-binary image) input (binary image)
Chamfer distance transform in linear time (G. Borgefors, 1984)
forward scan backward scan
original binary image initialization backward scan forward scan
Duality 0
A 3D example original Voronoi diagram regularization M. Näf (ETH, Zürich)
‘Thinning’ before after
Thinning It is an iterative object reduction technique in a topology preserving way.
HoleIt is a new concept in 3D ”A topologist is a man who does not know the difference between a coffee cup and a doughnut.”
End-points in 3D thinning medial surface original topological kernel medial lines