School of Environmental and Chemical Engineering, Shanghai University, Shanghai, China.
Dow Chemical (China) Invest Co., Ltd, Shanghai, China.
Microsc Res Tech. 2023 May;86(5):614-626. doi: 10.1002/jemt.24300. Epub 2023 Feb 6.
The traditional watershed segmentation methods usually suffer from over segmentation for irregularly shaped particles. This is because the distance map of an irregularly shaped particle contains multiple local maxima, and over segmentation would happen if these local maxima were used as seeds for watershed segmentation. In this work, several methods based on morphological reconstruction, including h-dome transform, h-maxima, and area-reconstruction h-dome transform, are introduced to merge, or erase redundant local maxima, and the performance of these methods in avoiding over segmentation is compared. The results show that the area-reconstruction h-dome transform is the most effective method in controlling over segmentation among the evaluated methods. However, the area-reconstruction h-dome transform is achieved by superposition of binary reconstructions at each grayscale level, which is extremely time-consuming and impractical for batch processing. A hybrid pixel-queue algorithm is applied to accelerate the area-reconstruction h-dome transform, and the algorithm is implemented in Cython to further improve the computational efficiency. For a 2592 × 1944 pixel image, on a PC with an Intel Core i5 2.4GHz processor and 8 GB RAM, the processing time of the area-reconstruction h-dome transform after acceleration is about 549 ms, which is 249 times faster than the unaccelerated algorithm and 4 times faster than the reconstruction function in the Scikit-image library (an open-source image processing library for the Python programming language) which performs reconstruction by dilation. The accelerated area-reconstruction h-dome transform algorithm was successfully applied to the segmentation of rubber particles in a thermoplastic polyolefin (TPO) compound. RESEARCH HIGHLIGHTS: Techniques for segmenting particles with irregular shapes based on morphological reconstruction are reviewed. A fast algorithm for area-reconstruction h-dome transform is introduced based on Vincent's first approach combined with the pixel queue algorithm and Cython acceleration. The accelerated reconstruction algorithm is 249 times faster than the unaccelerated algorithm. The fast area-reconstruction h-dome transform algorithm is successfully applied to rubber particle segmentation of a thermal plastic polyolefin.
传统的分水岭分割方法通常会因不规则形状颗粒的过度分割而受到影响。这是因为不规则形状颗粒的距离图包含多个局部极大值,如果将这些局部极大值用作分水岭分割的种子,就会发生过度分割。在这项工作中,介绍了几种基于形态重建的方法,包括 h-穹顶变换、h-极大值和面积重建 h-穹顶变换,用于合并或擦除冗余的局部极大值,并比较了这些方法在避免过度分割方面的性能。结果表明,在评估的方法中,面积重建 h-穹顶变换是控制过度分割最有效的方法。然而,面积重建 h-穹顶变换是通过在每个灰度级上进行二进制重建的叠加来实现的,这对于批量处理来说非常耗时且不切实际。应用混合像素队列算法来加速面积重建 h-穹顶变换,并使用 Cython 实现该算法以进一步提高计算效率。对于一个 2592x1944 像素的图像,在一台具有 2.4GHz 英特尔酷睿 i5 处理器和 8GB RAM 的 PC 上,加速后的面积重建 h-穹顶变换的处理时间约为 549ms,比未加速的算法快 249 倍,比 Scikit-image 库(一个用于 Python 编程语言的开源图像处理库)中的重建函数快 4 倍,该重建函数通过膨胀进行重建。加速后的面积重建 h-穹顶变换算法成功应用于热塑性聚烯烃(TPO)化合物中橡胶颗粒的分割。研究亮点:回顾了基于形态重建的分割具有不规则形状颗粒的技术。介绍了一种基于 Vincent 首次方法结合像素队列算法和 Cython 加速的快速面积重建 h-穹顶变换算法。加速后的重建算法比未加速的算法快 249 倍。快速面积重建 h-穹顶变换算法成功应用于热塑性聚烯烃的橡胶颗粒分割。