Knowledge Engineering and Data Science (Mar 2022)

Parallel Approach of Adaptive Image Thresholding Algorithm on GPU

  • Adhi Prahara,
  • Andri Pranolo,
  • Nuril Anwar,
  • Yingchi Mao

DOI
https://doi.org/10.17977/um018v4i22021p69-84
Journal volume & issue
Vol. 4, no. 2
pp. 69 – 84

Abstract

Read online

Image thresholding is used to segment an image into background and foreground using a given threshold. The threshold can be generated using a specific algorithm instead of a pre-defined value obtained from observation or experiment. However, the algorithm involves per pixel operation, histogram calculation, and iterative procedure to search the optimum threshold that is costly for high-resolution images. In this research, parallel implementations on GPU for three adaptive image thresholding methods, namely Otsu, ISODATA, and minimum cross-entropy, were proposed to optimize their computational times to deal with high-resolution images. The approach involves parallel reduction and parallel prefix sum (scan) techniques to optimize the calculation. The proposed approach was tested on various sizes of grayscale images. The result shows that the parallel implementation of three adaptive image thresholding methods on GPU achieves 4-6 speeds up compared to the CPU implementation, reducing the computational time significantly and effectively dealing with high-resolution images.