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 条
  • [1] An FPGA implementation of real-time K-means clustering for color images
    Takashi Saegusa
    Tsutomu Maruyama
    Journal of Real-Time Image Processing, 2007, 2 : 309 - 318
  • [2] An FPGA implementation of real-time K-means clustering for color images
    Saegusa, Takashi
    Maruyama, Tsutomu
    JOURNAL OF REAL-TIME IMAGE PROCESSING, 2007, 2 (04) : 309 - 318
  • [3] Real-time segmentation of color images based on the k-means clustering on FPGA
    Saegusa, Takashi
    Maruyama, Tsutomu
    ICFPT 2007: INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY, PROCEEDINGS, 2007, : 329 - 332
  • [4] Implementation of Real-Time Skin Segmentation Based on K-Means Clustering Method
    De, Souranil
    Rakshit, Soumik
    Biswas, Abhik
    Saha, Srinjoy
    Datta, Sujoy
    COMPUTATIONAL VISION AND BIO-INSPIRED COMPUTING, 2020, 1108 : 964 - 973
  • [5] Real-time K-means clustering for color images on reconfigurable hardware
    Maruyama, Tsutomu
    18TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION, VOL 2, PROCEEDINGS, 2006, : 816 - 819
  • [6] An FPGA implementation of k-means clustering for color images based on kd-tree
    Saegusa, Takashi
    Maruyama, Tsutomu
    2006 INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS, PROCEEDINGS, 2006, : 567 - 572
  • [7] Hadoop Cluster with FPGA-based Hardware Accelerators for K-means Clustering Algorithm
    Chung, Ching-Che
    Wang, Yu-Hsin
    2017 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS - TAIWAN (ICCE-TW), 2017,
  • [8] A GPU/FPGA-based K-means clustering using a parameterized code generator
    Penha, Jeronimo
    Braganca, Lucas
    Coelho, Kristtopher
    Canesche, Michael
    Silva, Jansen
    Comarela, Giovanni
    Nacif, Jose Augusto M.
    Ferreira, Ricardo
    2018 SYMPOSIUM ON HIGH PERFORMANCE COMPUTING SYSTEMS (WSCAD 2018), 2018, : 61 - 69
  • [9] FPGA-BASED K-MEANS CLUSTERING USING TREE-BASED DATA STRUCTURES
    Winterstein, Felix
    Bayliss, Samuel
    Constantinides, George A.
    2013 23RD INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS (FPL 2013) PROCEEDINGS, 2013,
  • [10] Real-Time Emulator of an Induction Motor: FPGA-based Implementation
    Esparza, M. A.
    Alvarez-Salas, R.
    Miranda, H.
    Cabal-Yepez, E.
    Garcia-Perez, A.
    Romero-Troncoso, R. J.
    Osornio-Rios, R. A.
    2012 9TH INTERNATIONAL CONFERENCE ON ELECTRICAL ENGINEERING, COMPUTING SCIENCE AND AUTOMATIC CONTROL (CCE), 2012,