Title :
Fast and memory efficient implementation of the exact PNN
Author :
Fränti, Pasi ; Kaukoranta, Timo ; Shen, Day-Fann ; Chang, Kuo-Shu
Author_Institution :
Dept. of Comput. Sci., Joensuu Univ., Finland
fDate :
5/1/2000 12:00:00 AM
Abstract :
Straightforward implementation of the exact pairwise nearest neighbor (PNN) algorithm takes O(N3) time, where N is the number of training vectors. This is rather slow in practical situations. Fortunately, much faster implementation can be obtained with rather simple modifications to the basic algorithm. In this paper, we propose a fast O(τN2) time implementation of the exact PNN, where τ is shown to be significantly smaller than N, We give all necessary data structures and implementation details, and give the time complexity of the algorithm both in the best case and in the worst case. The proposed implementation achieves the results of the exact PNN with the same O(N) memory requirement
Keywords :
computational complexity; data structures; image coding; vector quantisation; data structures; exact PNN; fast memory efficient implementation; image coding; implementation; pairwise nearest neighbor; time complexity; Computer science; Data structures; Genetic algorithms; Image coding; Image generation; Iterative algorithms; Iterative methods; Nearest neighbor searches; Optimization methods; Vector quantization;
Journal_Title :
Image Processing, IEEE Transactions on