A New Real-Time FPGA-Based Implementation of K-Means Clustering for Images

被引:1
|
作者
Deng, Tiantai [1 ]
Crookes, Danny [1 ]
Siddiqui, Fahad [1 ]
Woods, Roger [1 ]
机构
[1] Queens Univ Belfast, Univ Rd, Belfast, Antrim, North Ireland
关键词
Unsupervised machine learning; Data processing; K-means clustering; FPGA acceleration; ALGORITHM;
D O I
10.1007/978-981-13-2384-3_44
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
As an unsupervised machine-learning algorithm, K-means clustering for images has been widely used in image segmentation. The standard Lloyd's algorithm iteratively allocates all image pixels to clusters until convergence. The processing requirement can be a problem for high-resolution images and/or real-time systems. In this paper, we present a new histogram-based algorithm for K-means clustering, and its FPGA implementation. Once the histogram has been constructed, the algorithm is O(GL) for each iteration, where GL is the number of grey levels. On a Xilinx ZedBoard, our algorithm achieves 140 FPS (640 x 480 images, running at 150 MHz, 4 clusters, 25 iterations), including final image reconstruction. At 100 MHz, it achieves 95 FPS. It is 7.6 times faster than the standard Lloyd's algorithm, but uses only approximately half of the resources, while giving the same results. The more iterations, the bigger the speed-up. For 50 iterations, our algorithm is 10.2 times faster than the Lloyd's approach. Thus for all cases our algorithm achieves real time performance whereas Lloyd's struggles to do so. The number of clusters (up to a user-defined limit) and the initialization method (one of three) can be selected at runtime.
引用
收藏
页码:468 / 477
页数:10
相关论文
共 50 条
  • [31] An FPGA-based coprocessor for real-time fieldbus traffic scheduling - architecture and implementation
    Martins, E
    Almeida, L
    Fonseca, JA
    JOURNAL OF SYSTEMS ARCHITECTURE, 2005, 51 (01) : 29 - 44
  • [32] FPGA-based real-time Phase Measuring Profilometry algorithm design and implementation
    Zhan, Guomin
    Tang, Hongwei
    Zhong, Kai
    Li, Zhongwei
    Shi, Yusheng
    OPTICAL METROLOGY AND INSPECTION FOR INDUSTRIAL APPLICATIONS IV, 2016, 10023
  • [33] A real-time FPGA-based implementation for detection and sorting of bio-signals
    Francisco Javier Iniguez-Lomeli
    Yannick Bornat
    Sylvie Renaud
    Jose Hugo Barron-Zambrano
    Horacio Rostro-Gonzalez
    Neural Computing and Applications, 2021, 33 : 12121 - 12140
  • [34] Design and Implementation of an FPGA-Based DNN Architecture for Real-time Outlier Detection
    Mohamed, Nadya
    Cavallaro, Joseph
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2023, 95 (07): : 845 - 861
  • [35] Real-time FPGA-based implementation of digital instantaneous frequency measurement receiver
    Lee, Yu-Heng George
    Helton, James
    Chen, Chien-In Henry
    PROCEEDINGS OF 2008 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS, VOLS 1-10, 2008, : 2494 - 2497
  • [36] Efficient FPGA-based real-time implementation of an SVPWM algorithm for a delta inverter
    Alouane, Asma
    Ben Rhouma, Asma
    Hamouda, Mahmoud
    Khedher, Adel
    IET POWER ELECTRONICS, 2018, 11 (09) : 1611 - 1619
  • [37] Design and Implementation of an FPGA-Based DNN Architecture for Real-time Outlier Detection
    Nadya Mohamed
    Joseph Cavallaro
    Journal of Signal Processing Systems, 2023, 95 : 845 - 861
  • [38] FPGA-based implementation of a low cost and area real-time motion detection
    Saad, E. M.
    Hamdy, A.
    Abutaleb, M. M.
    MIXDES 2008: PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON MIXED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2008, : 249 - 254
  • [39] Real-time Flood Classification Forecasting Based on k-means plus plus Clustering and Neural Network
    Hu Caihong
    Zhang Xueli
    Li Changqing
    Liu Chengshuai
    Wang Jinxing
    Jian Shengqi
    WATER RESOURCES MANAGEMENT, 2022, 36 (01) : 103 - 117
  • [40] Image compression in real-time multiprocessor systems using divisive K-means clustering
    Fradkin, D
    Muchnik, IB
    Streltsov, S
    INTERNATIONAL CONFERENCE ON INTEGRATION OF KNOWLEDGE INTENSIVE MULTI-AGENT SYSTEMS: KIMAS'03: MODELING, EXPLORATION, AND ENGINEERING, 2003, : 506 - 511