|
|
|
|
|
|
A Nearest Neighbor Search Algorithm for Color Based on Sequential NPsim Matrix |
ZHANG Ting1,2, WANG Gong-ming3* |
1. School of Computer Science, Beijing University of Posts and Telecommunications, Beijing 100876, China
2. College of Information Engineering, Minzu University of China, Beijing 100081, China
3. Institute of Biophysics, Chinese Academy of Sciences, Beijing 100101, China |
|
|
Abstract The core of color nearest neighbor search based on spectral representation is high dimensional nearest neighbor searching, which is affected by equidistance of similarity measurement and low query efficiency of indexed tree seriously. To solve this problem, a color nearest neighbor search algorithm based on sequential NPsim matrix was proposed. First of all, the NPsim values between every two colors in color space were calculated and stored into the corresponding position of the NPsim matrix. After that, the elements in each raw of NPsim matrix were sorted in descending order to represent the similarity degree from strong to weak. Finally, the Top-K neighbors of given color can be found directly according to its raw number in the sequential NPsim matrix. To validate this algorithm, the nearest neighbor search algorithms based on KD-tree or SR-tree were compared on Munsell spectral data set. Experimental results indicated that the precise was better than that of other algorithms, the construction time of sequential NPsim matrix was longer than that of them, but the searching speed was more than thousands times of others and independent of K value. In addition, the construction of sequential NPsim matrix was easy to be paralleled to speed up, but the parallelization of construction of KD-tree or SR-tree was difficult.
|
Received: 2017-03-18
Accepted: 2017-09-14
|
|
Corresponding Authors:
WANG Gong-ming
E-mail: gongmingwang@126.com
|
|
[1] Ji Y K, Chang Y K, Yang S S, In S K. Pattern Recognition, 2001, 34(6): 1189.
[2] Warren B P. Approximate Dynamic Programming: Solving the Curses of Dimensionality(2nd Edition). John Wiley & Sons Press,2011.
[3] Jia P, Dinesh M. Sigspatial Special, 2012, 41(4): 211.
[4] YANG Feng-zhao, ZHU Yang-yong(杨风召, 朱扬勇). Journal of Computer Research and Development(计算机研究与发展), 2004, 41(2): 361.
[5] HUANG Si-da, CHEN Qi-mai(黄斯达, 陈启买). Computer Applications and Software(计算机应用与软件), 2009, 26(9): 102.
[6] SHAO Chang-sheng, LOU Wei, YAN Li-min(邵昌昇, 楼 巍, 严利民). Computer Technology and Development(计算机技术与发展), 2011, 21(2): 1.
[7] WANG Xiao-yang, ZHANG Hong-yuan, SHEN Liang-zhong, et al(王晓阳, 张洪渊, 沈良忠, 等). Computer Technology and Development(计算机技术与发展), 2013, 23(5): 30.
[8] JIA Xuan-yao(郏宣耀). Computer Applications(计算机应用), 2005, 25(S1): 176.
[9] Russell A B. Journal of Computer Graphics Techniques, 2015, 4(1): 50. |
[1] |
ZHENG Hong-quan, DAI Jing-min*. Research Development of the Application of Photoacoustic Spectroscopy in Measurement of Trace Gas Concentration[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 1-14. |
[2] |
CHENG Jia-wei1, 2,LIU Xin-xing1, 2*,ZHANG Juan1, 2. Application of Infrared Spectroscopy in Exploration of Mineral Deposits: A Review[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 15-21. |
[3] |
FAN Ping-ping,LI Xue-ying,QIU Hui-min,HOU Guang-li,LIU Yan*. Spectral Analysis of Organic Carbon in Sediments of the Yellow Sea and Bohai Sea by Different Spectrometers[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 52-55. |
[4] |
LI Jie, ZHOU Qu*, JIA Lu-fen, CUI Xiao-sen. Comparative Study on Detection Methods of Furfural in Transformer Oil Based on IR and Raman Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 125-133. |
[5] |
WANG Fang-yuan1, 2, HAN Sen1, 2, YE Song1, 2, YIN Shan1, 2, LI Shu1, 2, WANG Xin-qiang1, 2*. A DFT Method to Study the Structure and Raman Spectra of Lignin
Monomer and Dimer[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 76-81. |
[6] |
BAI Xi-lin1, 2, PENG Yue1, 2, ZHANG Xue-dong1, 2, GE Jing1, 2*. Ultrafast Dynamics of CdSe/ZnS Quantum Dots and Quantum
Dot-Acceptor Molecular Complexes[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 56-61. |
[7] |
XU Tian1, 2, LI Jing1, 2, LIU Zhen-hua1, 2*. Remote Sensing Inversion of Soil Manganese in Nanchuan District, Chongqing[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 69-75. |
[8] |
LIU Zhen1*, LIU Li2*, FAN Shuo2, ZHAO An-ran2, LIU Si-lu2. Training Sample Selection for Spectral Reconstruction Based on Improved K-Means Clustering[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 29-35. |
[9] |
YANG Chao-pu1, 2, FANG Wen-qing3*, WU Qing-feng3, LI Chun1, LI Xiao-long1. Study on Changes of Blue Light Hazard and Circadian Effect of AMOLED With Age Based on Spectral Analysis[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 36-43. |
[10] |
GAO Feng1, 2, XING Ya-ge3, 4, LUO Hua-ping1, 2, ZHANG Yuan-hua3, 4, GUO Ling3, 4*. Nondestructive Identification of Apricot Varieties Based on Visible/Near Infrared Spectroscopy and Chemometrics Methods[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 44-51. |
[11] |
ZHENG Pei-chao, YIN Yi-tong, WANG Jin-mei*, ZHOU Chun-yan, ZHANG Li, ZENG Jin-rui, LÜ Qiang. Study on the Method of Detecting Phosphate Ions in Water Based on
Ultraviolet Absorption Spectrum Combined With SPA-ELM Algorithm[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 82-87. |
[12] |
XU Qiu-yi1, 3, 4, ZHU Wen-yue3, 4, CHEN Jie2, 3, 4, LIU Qiang3, 4 *, ZHENG Jian-jie3, 4, YANG Tao2, 3, 4, YANG Teng-fei2, 3, 4. Calibration Method of Aerosol Absorption Coefficient Based on
Photoacoustic Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 88-94. |
[13] |
LI Xin-ting, ZHANG Feng, FENG Jie*. Convolutional Neural Network Combined With Improved Spectral
Processing Method for Potato Disease Detection[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 215-224. |
[14] |
XING Hai-bo1, ZHENG Bo-wen1, LI Xin-yue1, HUANG Bo-tao2, XIANG Xiao2, HU Xiao-jun1*. Colorimetric and SERS Dual-Channel Sensing Detection of Pyrene in
Water[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 95-102. |
[15] |
LEI Hong-jun1, YANG Guang1, PAN Hong-wei1*, WANG Yi-fei1, YI Jun2, WANG Ke-ke2, WANG Guo-hao2, TONG Wen-bin1, SHI Li-li1. Influence of Hydrochemical Ions on Three-Dimensional Fluorescence
Spectrum of Dissolved Organic Matter in the Water Environment
and the Proposed Classification Pretreatment Method[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 134-140. |
|
|
|
|