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 条
  • [21] FPGA-Based Real-Time Implementation of Bivariate Empirical Mode Decomposition
    Malik, Qasim Waheed
    Rehman, Naveed Ur
    Gull, Sikender
    Ehsan, Shoaib
    McDonald-Maier, Klaus D.
    CIRCUITS SYSTEMS AND SIGNAL PROCESSING, 2019, 38 (01) : 118 - 137
  • [22] A New FPGA-Based Task Scheduler for Real-Time Systems
    Kohutka, Lukas
    Mach, Jan
    ELECTRONICS, 2023, 12 (08)
  • [23] A Multi-Core FPGA-Based 2D-Clustering Implementation for Real-Time Image Processing
    Sotiropoulou, C. -L.
    Gkaitatzis, S.
    Annovi, A.
    Beretta, M.
    Giannetti, P.
    Kordas, K.
    Luciano, P.
    Nikolaidis, S.
    Petridou, C.
    Volpi, G.
    IEEE TRANSACTIONS ON NUCLEAR SCIENCE, 2014, 61 (06) : 3599 - 3606
  • [24] A Fast and Scalable FPGA-Based Parallel Processing Architecture for K-Means Clustering for Big Data Analysis
    Raghavan, Ramprasad
    Perera, Darshika G.
    2017 IEEE PACIFIC RIM CONFERENCE ON COMMUNICATIONS, COMPUTERS AND SIGNAL PROCESSING (PACRIM), 2017,
  • [25] FPGA-Based Platform for Real-Time Internet
    Wielgosz, Maciej
    Panggabean, Mauritz
    Chilwan, Ameen
    Ronningen, Leif Arne
    2012 THIRD INTERNATIONAL CONFERENCE ON EMERGING SECURITY TECHNOLOGIES (EST), 2012, : 131 - 134
  • [26] A Real-time FPGA-Based Architecture for OpenSURF
    Chen, Chaoxiu
    Yong, Huang
    Zhong, Sheng
    Yan, Luxin
    MIPPR 2015: PATTERN RECOGNITION AND COMPUTER VISION, 2015, 9813
  • [27] An FPGA-Based Real-Time Event Sampler
    Penneman, Niels
    Perneel, Luc
    Timmerman, Martin
    De Sutter, Bjorn
    RECONFIGURABLE COMPUTING: ARCHITECTURES, TOOLS AND APPLICATIONS, 2010, 5992 : 364 - +
  • [28] FPGA-based Real-Time Pedestrian Detection on High-Resolution Images
    Hahnle, Michael
    Saxen, Frerk
    Hisung, Matthias
    Brunsmann, Ulrich
    Doll, Konrad
    2013 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION WORKSHOPS (CVPRW), 2013, : 629 - 635
  • [29] A real-time FPGA-based implementation for detection and sorting of bio-signals
    Iniguez-Lomeli, Francisco Javier
    Bornat, Yannick
    Renaud, Sylvie
    Barron-Zambrano, Jose Hugo
    Rostro-Gonzalez, Horacio
    NEURAL COMPUTING & APPLICATIONS, 2021, 33 (18): : 12121 - 12140
  • [30] Real-Time Localization of Epileptogenic Foci EEG Signals: An FPGA-Based Implementation
    Frances-Villora, Jose V.
    Bataller-Mompean, Manuel
    Mjahad, Azeddine
    Rosado-Munoz, Alfredo
    Gutierrez Martin, Antonio
    Teruel-Marti, Vicent
    Villanueva, Vicente
    Hampel, Kevin G.
    Guerrero-Martinez, Juan F.
    APPLIED SCIENCES-BASEL, 2020, 10 (03):