Journal of Applied Science and Engineering (Jan 2024)

Boundary-preserving superpixel segmentation

  • Yuejia Lin,
  • Zhao Li,
  • Chenxun Yuan,
  • Yi Liu

DOI
https://doi.org/10.6180/jase.202404_27(04).0002
Journal volume & issue
Vol. 27, no. 4
pp. 2231 – 2243

Abstract

Read online

In recent years, superpixel segmentation has been widely used in image processing tasks as a preprocessing step. Superpixel segmentation aims to group pixels into homogeneous regions while maintaining edges. This paper proposes a superpixel segmentation algorithm based on boundary preservation. In the algorithm, the side window filtering is first used to smooth the image texture area, so that the superpixel shape generated at the texture is regular. Different from other superpixel clustering algorithms, the algorithm in this paper uses a new distance measurement function for distance measurement, which can assign different weights to its color distance items and spatial distance items according to different pixels, so that the superpixel fit in the image boundary area. The boundary is regular in the flat area. The distance measurement function also takes into account the pixel information of the linear path from the pixel to the cluster center, and avoids the category error division caused by only the local information of the pixel for clustering. Finally, this paper designs a new cluster center update strategy, which uses only the weighted average of some reliable pixels in the superpixel as the new cluster center, thereby reducing the update of the cluster center of pixels that are not very similar to the cluster center. The interference makes the cluster center update more accurate. Experimental results show that our algorithm can get better results in visual effects and BR,UE,ASA indicators compared with existing algorithms.

Keywords