《计算机应用》唯一官方网站

• •    下一篇

四向加权香农熵最大化导向的自动阈值分割方法

邹耀斌,张彬   

  1. 湖北省宜昌市三峡大学计算机与信息学院
  • 收稿日期:2023-11-27 修回日期:2024-04-16 发布日期:2024-05-06 出版日期:2024-05-06
  • 通讯作者: 邹耀斌
  • 基金资助:
    国家自然科学基金

Automatic Thresholding Method Guided by Maximizing Four-Directional Weighted Shannon Entropy

  • Received:2023-11-27 Revised:2024-04-16 Online:2024-05-06 Published:2024-05-06
  • Supported by:
    National Natural Science Foundation of China

摘要: 灰度图像的灰度直方图可以呈现出无峰、单峰、双峰或多峰的形态特征,而传统熵阈值分割方法大多仅适合处理具有单峰或双峰形态特征的灰度图像。为了提高熵阈值分割方法的分割精度和分割适应性,提出了一种四向加权香农熵最大化导向的自动阈值分割方法。该方法先用新设计的方向性Prewitt卷积核在四个方向进行多尺度乘积变换,以获得一系列方向性多尺度乘积变换图像,再基于三次样条插值函数和曲率最大化准则自动计算出每个方向的最优多尺度乘积变换图像,然后在每个方向的最优多尺度乘积变换图像上通过内外轮廓图像对其像素进行重新取样,以获取重构的灰度直方图,并在此基础上计算相应的香农熵,最后以四个方向的加权香农熵最大化为准则选取最佳分割阈值。提出的方法与新近的3个阈值分割方法以及2个非阈值分割方法在4幅合成图像和100幅真实世界图像上进行了实验。在合成图像上,提出方法的平均马修斯相关系数达到了0.999。在真实世界图像上,提出的方法与其它5个分割方法的平均马修斯相关系数分别是:0.974、0.927、0.668、0.595、0.550和0.525。实验结果表明提出的方法具有更高的分割精度和更灵活的分割适应性。

关键词: 阈值分割, 香农熵, 多尺度乘积变换, 三次样条插值函数, 曲率最大化

Abstract: The gray level histogram of a gray level image may exhibit non-modal, unimodal, bimodal, or multi-modal shape. However, most traditional entropy thresholding methods are only suitable for processing the gray level images with unimodal or bimodal shape. To improve the segmentation accuracy and adaptability of entropy thresholding methods, an automatic thresholding method guided by maximizing four-directional weighted Shannon entropy is prposed. A series of multi-scale product transformation images are first obtained by performing multi-scale product transformations with the directional Prewitt convolution kernels in four directions. Optimal multi-scale product transformation image in each direction is automatically computed based on the cubic spline interpolation function and the curvature maximization criterion. Then the method resamples the pixels on each optimal multi-scale product transformation image using inner and outer contour images to reconstruct the grayscale histogram, and the corrsponding Shannon entropy is calculated based on this. Finally, the optimal segmentation threshold is selected based on the criterion of maximizing weighted Shannon entropy in the four directions. The proposed method was compared with three recent thresholding methods and two non-thresholding methods on 4 synthetic images and 100 real-world images. On the synthesis images, the average Matthews correlation coefficient of the proposed method reaches 0.999. On the real-world images, the average Matthews correlation coefficients of the proposed method and the other five segmentation methods are 0.974, 0.927, 0.668, 0.595, 0.550, and 0.525. The experimental results show that the proposed method has higher segmentation accuracy and more flexible segmentation adaptability.

Key words: image thresholding, shannon entropy, multi-scale product transformation, cubic spline interpolation function, curvature maximization

中图分类号: