has an optimal computational complexity for a
k-DT.
, the procedure
assign(p,l) is called
exactly F.k times, since as soon as NN
icur(p)(p) is
assigned a value,
icur(p) is incremented. Because they are
always called together, the procedure
propagate(p,l) is also
called exactly F.k times. In that procedure, the neighbors of
p are entered in the buckets structure. Using 2D-direct
neighborhoods, restricted to those in the same direction as
p-q(l), there are between D and 2D neighbors propagated for
each of the F.k pixels that enter
propagate(p,l). Thus, the
total amount of elements passing through the buckets is
O(F.D.k).
), k varies from 1 to 10, 3 values of n are
considered and N is fixed to 1000. In experiment 2 (Figure
), n varies from 128 to 1024, 3
values of k are considered and N=1000. In experiment 3 (Figure
), N varies from 100 to 1000, n is
fixed to 512 and 3 values of k are considered. In all
experiments, the prototypes are randomly generated.
to
.
), the CPU time
per k.pixel is constant for k > 3. For
), the image size
has no influence on the CPU time per k.pixel. In experiment 3
(Figure
), the number of prototypes has
no influence either. In both Figures, the line for which k=1 is
significantly higher than the other two, as suggested by the
results of experiment 1.
, extended from the original in
[175], the performance of this k-DT algorithm is
compared to the brute force algorithm of Cover [24], and
those of Friedman [59] and Warfield [175].