Accelerating the K-Nearest Neighbors Filtering Algorithm to Optimize the Real-Time Classification of Human Brain Tumor in Hyperspectral Images

Sensors (Basel). 2018 Jul 17;18(7):2314. doi: 10.3390/s18072314.

Abstract

The use of hyperspectral imaging (HSI) in the medical field is an emerging approach to assist physicians in diagnostic or surgical guidance tasks. However, HSI data processing involves very high computational requirements due to the huge amount of information captured by the sensors. One of the stages with higher computational load is the K-Nearest Neighbors (KNN) filtering algorithm. The main goal of this study is to optimize and parallelize the KNN algorithm by exploiting the GPU technology to obtain real-time processing during brain cancer surgical procedures. This parallel version of the KNN performs the neighbor filtering of a classification map (obtained from a supervised classifier), evaluating the different classes simultaneously. The undertaken optimizations and the computational capabilities of the GPU device throw a speedup up to 66.18× when compared to a sequential implementation.

Keywords: K-nearest neighbors filtering; brain cancer detection; graphics processing units; hyperspectral imaging instrumentation; image processing.

MeSH terms

  • Algorithms*
  • Brain
  • Brain Neoplasms / classification*
  • Brain Neoplasms / diagnostic imaging*
  • Cluster Analysis
  • Computer Systems*
  • Humans