Computer Science ›› 2020, Vol. 47 ›› Issue (8): 105-111.doi: 10.11896/jsjkx.190700036

;

Previous Articles     Next Articles

Real-time SIFT Algorithm Based on GPU

WANG Liang, ZHOU Xin-zhi, YNA Hua   

  1. School of Electronics and Information Engineering, Sichuan University, Chengdu 610065, China
  • Online:2020-08-15 Published:2020-08-10
  • About author:WANG Liang, born in 1993, postgra-duate.His main research interests include computer vision and parallel computing.
    YAN Hua, born in 1971, Ph.D, professor.His main research interests include intelligent algorithm, storage system and path planning.
  • Supported by:
    This work was supported by the National Natural Science Foundation of China (61403265).

Abstract: Aiming at the complex and low real-time defects of the SIFT feature extraction algorithm, a real-time SIFT algorithm based on GPU is proposed, called CoSift (CUDA Optimized SIFT).Firstly, the algorithm uses the CUDA stream concurrency mechanism to construct the SIFT scale space.In this process, the high-speed memory in the CUDA memory model is fully utilized to improve data access speed, and the two-dimensional Gaussian convolution kernel is optimized to reduce the amount of computation.Then, the warp-based histogram policy is designed to rebalance the workload during the characterization process.Compared with the traditional algorithm of the CPU version and the improved algorithm of the GPU version, the proposed algorithm greatly improves the real-time performance of the SIFT algorithm without reducing the accuracy of feature extraction, and has a relatively higher optimization effect on large-size images.CoSift can extract features within 7.7~8.8ms (116.28~129.87fps) on the GTX1080Ti.The algorithm effectively reduces the complexity of the traditional SIFT algorithm process, improves the real-time performance, and is convenient to be applied in scenarios where the real-time requirement of SIFT algorithm is higher.

Key words: CUDA, Feature extraction, Parallel acceleration, Real-time, Scale invariant feature transformation

CLC Number: 

  • TP391.4
[1]LOWE D G.Distinctive Image Features from Scale-Invariant
Keypoints[J].International Journal of Computer Vision, 2004, 60(2):91-110.
[2]KE N Y, SUKTHANKAR R.PCA-SIFT:A More Distinctive Representation for Local Image Descriptors[C]∥Proceedings of the 2004 IEEE Computer Society Conference on Computer Vision and Pattern Recognition.IEEE Computer Society, 2004.
[3]BAY H, TUYTELAARS T, GOOL L V.SURF:Speeded UpRobust Features[C]∥European Conference on Computer Vision.2006.
[4]DU C, YUAN J, DONG J, et al.GPU based Parallel Optimization for Real Time Panoramic Video Stitching[J].Pattern Recognition Letters, 2018, 133(5):62-69.
[5]ACHARYA K A, BABU R V, VADHIYAR S S.A Real-Time Implementation of SIFT Using GPU[J].Journal of Real-Time Image Processing, 2014, 14(8):267-277.
[6]ZHOU Y, MEI K, XIANG J, et al.Parallelization and Optimization of SIFT on GPU Using CUDA[C]∥IEEE International Conference on High Performance Computing & Communications & IEEE International Conference on Embedded & Ubiquitous Computing.2014.
[7]LI Z, JIA H, ZHANG Y.HartSift:A High-Accuracy and Real-Time SIFT Based on GPU[C]∥2017 IEEE 23rd International Conference on Parallel and Distributed Systems (ICPADS).IEEE Computer Society, 2017.
[8]NVIDIA Corporation.CUDA Programming Guide 9.0[OL].https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html.
[9]NVIDIA Corporation.CUDA Toolkit Documentation v9.0[OL].https://docs.nvidia.com/cuda/cuda-c-programming-guide.
[10]TIAN W, XU F, WANG H Y, et al. Fast Scale Invariant Feature Transform Algorithm Based on CUDA.Computer Engineering, 2010, 36(8):219-221.
[11]YAN J H, HANG Y Q, XU J F, et al.Quick Realization of CUDA-Based Registration of High-Resolution Digital Video Images[J].Chinese Journal of Scientific Instrument, 2014, 35(2):380-386.
[12]RAGHU R P K, SURESH M, JOHN M.An Approach to Parallelization of SIFT Algorithm on GPUs for Real-Time Applications[J].Journal of Computer and Communications, 2016, 4(17):18-50.
[13]JIANG C, GENG Z X, LOU B, et al.Parallel Processing Re-search on SIFT Feature Matching Algorithm Based on GPU[J].Computer Science, 2013, 40(12):295-297, 307.
[14]WU C.SiftGPU :A GPU Implementation of Scale InvariantFeature Transform (SIFT)[OL].http://cs.unc.edu/~ccwu/siftgpu.
[15]BJRKMAN M, BERGSTRM N, KRAGIC D.Detecting, Segmenting and Tracking Unknown Objects Using Multi-label MRF Inference[J].Computer Vision and Image Understanding, 2014, 118:111-127.
[16]ZHANG K, YANG H Y, SHI L Y.Panorama Generation ofSIFT and Stitch Line Based on CUDA[J].Computer Technology and Development, 2015(9):22-26.
[17]ZHI X, YAN J, HANG Y, et al.Realization of CUDA-BasedReal-Time Registration and Target Localization for High-Resolution Video Images[J].Journal of Real-Time Image Proces-sing, 2016, 16:1025-1036.
[18]The Oxford Buildings Dataset[OL].http://www.robots.ox.ac.uk/~vgg/data/oxbuilding.
[1] LI Xia, MA Qian, BAI Mei, WANG Xi-te, LI Guan-yu, NING Bo. RIIM:Real-Time Imputation Based on Individual Models [J]. Computer Science, 2022, 49(8): 56-63.
[2] ZHANG Yuan, KANG Le, GONG Zhao-hui, ZHANG Zhi-hong. Related Transaction Behavior Detection in Futures Market Based on Bi-LSTM [J]. Computer Science, 2022, 49(7): 31-39.
[3] ZENG Zhi-xian, CAO Jian-jun, WENG Nian-feng, JIANG Guo-quan, XU Bin. Fine-grained Semantic Association Video-Text Cross-modal Entity Resolution Based on Attention Mechanism [J]. Computer Science, 2022, 49(7): 106-112.
[4] CHENG Cheng, JIANG Ai-lian. Real-time Semantic Segmentation Method Based on Multi-path Feature Extraction [J]. Computer Science, 2022, 49(7): 120-126.
[5] LIU Wei-ye, LU Hui-min, LI Yu-peng, MA Ning. Survey on Finger Vein Recognition Research [J]. Computer Science, 2022, 49(6A): 1-11.
[6] WANG Jin, LIU Jiang. GPU-based Parallel DILU Preconditioning Technique [J]. Computer Science, 2022, 49(6): 108-118.
[7] GAO Yuan-hao, LUO Xiao-qing, ZHANG Zhan-cheng. Infrared and Visible Image Fusion Based on Feature Separation [J]. Computer Science, 2022, 49(5): 58-63.
[8] XU Tao, CHEN Yi-ren, LYU Zong-lei. Study on Reflective Vest Detection for Apron Workers Based on Improved YOLOv3 Algorithm [J]. Computer Science, 2022, 49(4): 239-246.
[9] ZUO Jie-ge, LIU Xiao-ming, CAI Bing. Outdoor Image Weather Recognition Based on Image Blocks and Feature Fusion [J]. Computer Science, 2022, 49(3): 197-203.
[10] REN Shou-peng, LI Jin, WANG Jing-ru, YUE Kun. Ensemble Regression Decision Trees-based lncRNA-disease Association Prediction [J]. Computer Science, 2022, 49(2): 265-271.
[11] GENG Hai-jun, WANG Wei, YIN Xia. Single Node Failure Routing Protection Algorithm Based on Hybrid Software Defined Networks [J]. Computer Science, 2022, 49(2): 329-335.
[12] ZHANG Shi-peng, LI Yong-zhong. Intrusion Detection Method Based on Denoising Autoencoder and Three-way Decisions [J]. Computer Science, 2021, 48(9): 345-351.
[13] FENG Xia, HU Zhi-yi, LIU Cai-hua. Survey of Research Progress on Cross-modal Retrieval [J]. Computer Science, 2021, 48(8): 13-23.
[14] ZHANG Li-qian, LI Meng-hang, GAO Shan-shan, ZHANG Cai-ming. Summary of Computer-assisted Tongue Diagnosis Solutions for Key Problems [J]. Computer Science, 2021, 48(7): 256-269.
[15] BAO Yu-xuan, LU Tian-liang, DU Yan-hui, SHI Da. Deepfake Videos Detection Method Based on i_ResNet34 Model and Data Augmentation [J]. Computer Science, 2021, 48(7): 77-85.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!