二维Ostu方法同时考虑了图像的灰度信息和像素间的空间邻域信息,是一种有效的图像分割方法。针对二维Ostu方法计算量大的特点,采用量子粒子群算法来搜索最优二维阈值向量,每个粒子代表一个可行的二维阈值向量,通过各个粒子的飞行来获得最优阈值。结果表明,所提出的方法不仅能得到理想的分割结果,而且计算量大大减少,达到了快速分割的目的,便于二维Ostu方法的实时应用。
2D Otsu method, which considers the gray information and spatial neighbor information between pixels in image simultaneously, is an efficient image segmentation method, However, the computational burden of finding optimal threshold vector is very large for 2D Otsu method, An optimization method, i.e,, quantum-behaved particle swarm optimization (QPSO), is used to find the best 2D threshold vector, in which each particle represents a possible 2D threshold vector, and the best 2D threshold is obtained through the flying among particles. Experimental results show that the proposed method can not only obtain ideal segmentation results but also decrease the computation cost reasonably, and it is suitable for real time application.