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 条
  • [41] Hardware-driven adaptive k-means clustering for real-time video imaging
    Maliatski, B
    Yadid-Pecht, O
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 2005, 15 (01) : 164 - 166
  • [42] K-MEANS BASED SEGMENTATION FOR REAL-TIME ZENITHAL PEOPLE COUNTING
    Antic, Borislav
    Letic, Dragan
    Culibrk, Dubravko
    Crnojevic, Vladimir
    2009 16TH IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, VOLS 1-6, 2009, : 2565 - 2568
  • [43] A Multi-Core FPGA-based Clustering Algorithm for Real-Time Image Processing
    Sotiropoulou, Calliope-Louisa
    Annovi, Alberto
    Beretta, Matteo
    Luciano, Pierluigi
    Nikolaidis, Spyridon
    Volpi, Guido
    2013 IEEE NUCLEAR SCIENCE SYMPOSIUM AND MEDICAL IMAGING CONFERENCE (NSS/MIC), 2013,
  • [44] Parallel Implementation of K-Means Algorithm on FPGA
    Dias, Leonardo A.
    Ferreira, Joao C.
    Fernandes, Marcelo A. C.
    IEEE ACCESS, 2020, 8 (08): : 41071 - 41084
  • [45] FPGA-based Implementation of a Real-Time Distance Evaluation Algorithm for Wireless Localization Systems
    Piccinni, G.
    Avitabile, G.
    Coviello, G.
    Talarico, C.
    2019 IEEE ASIA PACIFIC CONFERENCE ON CIRCUITS AND SYSTEMS (APCCAS 2019), 2019, : 357 - 360
  • [46] Design and Implementation of an FPGA-based Real-Time Simulator for H-Bridge Converter
    Larijani, Morteza Rezaei
    Zolghadri, Mohammad-Reza
    Shahbazi, Mahmoud
    2016 7TH POWER ELECTRONICS AND DRIVE SYSTEMS & TECHNOLOGIES CONFERENCE (PEDSTC), 2016, : 504 - 510
  • [47] An FPGA-based real-time image processing system
    ZONG Dexiang
    HE Yonghui
    BaosteelTechnicalResearch, 2013, 7 (04) : 8 - 10
  • [48] Real-time FPGA-based image rectification system
    Vancea, Cristian
    Nedevschi, Sergiu
    Negru, Mihai
    Mathe, Stefan
    VISAPP 2006: PROCEEDINGS OF THE FIRST INTERNATIONAL CONFERENCE ON COMPUTER VISION THEORY AND APPLICATIONS, VOL 1, 2006, : 93 - +
  • [49] FPGA-Based Implementation of Kalman Filter for Real-Time Estimation of Tire Velocity and Acceleration
    Sandhu, Fargham
    Selamat, Hazlina
    Alavi, S. E.
    Mahalleh, Vahid Behtaji Siahkal
    IEEE SENSORS JOURNAL, 2017, 17 (17) : 5749 - 5758
  • [50] Time series k-means: A new k-means type smooth subspace clustering for time series data
    Huang, Xiaohui
    Ye, Yunming
    Xiong, Liyan
    Lau, Raymond Y. K.
    Jiang, Nan
    Wang, Shaokai
    INFORMATION SCIENCES, 2016, 367 : 1 - 13