DGtal
1.5.beta
|
Aim: Implementation of the separable medial axis extraction. More...
#include <DGtal/geometry/volumes/distance/ReducedMedialAxis.h>
Public Types | |
typedef Image< TImageContainer > | Type |
Static Public Member Functions | |
static Type | getReducedMedialAxisFromPowerMap (const TPowerMap &aPowerMap) |
Aim: Implementation of the separable medial axis extraction.
Description of template class 'ReducedMedialAxis'
This utility struct extract medial axis balls from a PowerMap. Basically, each (weighted) site of the PowerMap defines a digital maximal ball if its digital power cell restricted to the input shape is not empty [27] .
Optimal Separable Algorithms to Compute the Reverse Euclidean Distance Transformation and Discrete Medial Axis in Arbitrary Dimension, D. Coeurjolly and A. Montanvert, IEEE Transactions on Pattern Analysis and Machine Intelligence, 29(3):437-448, 2007.
The output is an image associating ball radii (weight of the power map site) to maximal ball centers. Most methods output a lightweight proxy to an image container (of type ImageContainer, see below).
TPowerMap | any specialized PowerMap type |
TImageContainer | any model of CImage to store the medial axis points (default: ImageContainerBySTLVector). |
Definition at line 97 of file ReducedMedialAxis.h.
typedef Image<TImageContainer> DGtal::ReducedMedialAxis< TPowerMap, TImageContainer >::Type |
Definition at line 100 of file ReducedMedialAxis.h.
|
inlinestatic |
Extract reduced medial axis from a power map. This methods is in \( O(|powerMap|)\).
aPowerMap | the input powerMap |
Definition at line 112 of file ReducedMedialAxis.h.
References DGtal::ImageContainerBySTLVector< TDomain, TValue >::setValue().