Next: Discussion
Up: Using the Euclidean DT
Previous: Fast implementations
The above problem can of course be solved by using an exact EDT by
propagation algorithm, such as PMN. A further improvement can be
obtained by merging the two steps into one. This way, we can
perform the threshold dynamically when each point is considered in
the propagation. The algorithm is then written
Algorithm 5
Mathematical morphology dilation by a variant of PMN
This implementation supposes that we know the size d of the ball
Bd that we use as structuring element. The algorithm can of
course be easily modified to allow the decision on the size d to
be made during the dilation. The algorithm is fully progressive in
the sense that it generates all dilations
for
every size
,
during the process of creating
.
Olivier Cuisenaire
1999-10-05