Fast implementation of the optimal PNN method

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(N/sup 3/) 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(/spl tau/N/sup 2/) time implementation of the optimal PNN, where /spl tau/ 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.

[1]  Olli Nevalainen,et al.  On the splitting method for vector quantization codebook generation , 1997 .

[2]  Philip Ogunbona,et al.  On the computational complexity of the LBG and PNN algorithms , 1997, IEEE Trans. Image Process..

[3]  Allen Gersho,et al.  Vector quantization and signal compression , 1991, The Kluwer international series in engineering and computer science.

[4]  Takio Kurita,et al.  An efficient agglomerative clustering algorithm using a heap , 1991, Pattern Recognit..

[5]  William Equitz,et al.  A new vector quantization clustering algorithm , 1989, IEEE Trans. Acoust. Speech Signal Process..

[6]  Kaizhong Zhang,et al.  A better tree-structured vector quantizer , 1991, [1991] Proceedings. Data Compression Conference.

[7]  Olli Nevalainen,et al.  A new iterative algorithm for VQ codebook generation , 1998, Proceedings 1998 International Conference on Image Processing. ICIP98 (Cat. No.98CB36269).

[8]  Robert M. Gray,et al.  An Algorithm for Vector Quantizer Design , 1980, IEEE Trans. Commun..

[9]  William A. Pearlman,et al.  A clustering algorithm for entropy-constrained vector quantizer design with applications in coding image pyramids , 1995, IEEE Trans. Circuits Syst. Video Technol..