Title :
Fast implementation of the optimal PNN method
Author :
Fränti, Pasi ; Kaukoranta, Timo
Author_Institution :
Dept. of Comput. Sci., Joensuu Univ., Finland
Abstract :
We consider the codebook generation problem involved in the design of a vector quantizer. The aim is to find M code vectors (codebook) for a given set of N training vectors (training set) by minimizing the average pairwise distance between the training vectors and their representative code vectors. Straightforward implementation of the optimal pairwise nearest neighbor (PNN) takes O(N3) time, which is rather slow in many practical situations. Fortunately much faster implementation can be obtained with rather simple modifications to the basic algorithm. We propose a fast O(τN2) time implementation of the optimal PNN, where τ is observed to be significantly smaller than N in practice. We give all necessary data structures and implementation details, and give time complexity of the algorithm both in the best and in the worst case. The proposed implementation achieves the results of the optimal PNN with the same O(N) memory requirement
Keywords :
computational complexity; data structures; image coding; image sequences; optimisation; vector quantisation; average pairwise distance; code vectors; codebook generation; data structures; fast implementation; memory requirement; optimal PNN method; pairwise nearest neighbor; time complexity; training set; training vectors; vector quantizer; video image coding; video sequences; Bit rate; Computer science; Data structures; Iterative algorithms; Nearest neighbor searches; Optimization methods; Size control;
Conference_Titel :
Image Processing, 1998. ICIP 98. Proceedings. 1998 International Conference on
Conference_Location :
Chicago, IL
Print_ISBN :
0-8186-8821-1
DOI :
10.1109/ICIP.1998.999001