计算机应用 ›› 2012, Vol. 32 ›› Issue (05): 1258-1260.

• 图形图像处理 • 上一篇    下一篇

二维Otsu阈值法的快速算法

徐长新,彭国华   

  1. 西北工业大学 理学院,西安 710029
  • 收稿日期:2011-11-01 修回日期:2011-12-08 发布日期:2012-05-01 出版日期:2012-05-01
  • 通讯作者: 徐长新
  • 作者简介:徐长新(1987-),男,山东临沂人,硕士研究生,主要研究方向:图像处理、计算机视觉;彭国华(1962-),男,湖北武汉人,教授,博士生导师,主要研究方向:计算机图形学、计算机辅助几何处理、图像处理、计算机视觉。
  • 基金资助:

    国家自然科学基金资助项目(61070233);西北工业大学基础研究基金资助项目(JC200946)

Fast algorithm for 2D Otsu thresholding algorithm

XU Chang-xin,PENG Guo-hua   

  1. School of Science, Northwestern Polytechnical University, Xi'an Shaanxi 710029, China
  • Received:2011-11-01 Revised:2011-12-08 Online:2012-05-01 Published:2012-05-01
  • Contact: XU Chang-xin

摘要: 最大类间方差法(Otsu)是图像分割的经典算法,在其基础之上发展起来的二维Otsu阈值分割法由于计算复杂而制约了其应用。针对这一缺点,提出一种改进的二维Otsu阈值法的快速算法。首先将原始二维直方图划分成M×M个区域,将每个区域视为1个点,构造新的二维直方图,在其上利用二维Otsu以及快速递推算法,得到分割阈值所处的区域编号;既而对所确定的区域再次使用二维Otsu算法得到原始图像的分割阈值。实验结果证明,改进算法有效地提高了计算速度,降低了算法的空间复杂度,且分割效果与原始算法基本一致。

关键词: 图像分割, 最大类间差方法, 二维直方图

Abstract: Otsu algorithm is widely used in classic image segmentation, while the application of the two-dimensional Otsu thresholding algorithm based on the Otsu algorithm has been restricted for the complex computation. Concerning this, this paper proposed an improved two-dimensional Otsu thresholding algorithm. The authors first divided the two-dimensional histogram into regions, and took each region as a point to form a new two-dimensional histogram, to which 2D Otsu thresholding algorithm and the fast recursive algorithm were applied, getting the region number of the threshold. Then the two algorithms were applied again on the region and finally the threshold for the original image was obtained. The experimental results show that the proposed algorithm greatly reduces the running time and the storage space, and gets basically the same results as the original algorithm.

Key words: image segmentation, Otsu algorithm, two-dimensional histogram

中图分类号: