Department of Mechanical Engineering, Seoul National University, Seoul, 08826, Korea.
Institute of Advanced Machines and Design, Seoul National University, Seoul, 08826, Korea.
Sci Rep. 2021 Apr 26;11(1):8940. doi: 10.1038/s41598-021-88334-0.
While investigating multiphase flows experimentally, the spatiotemporal variation in the interfacial shape between different phases must be measured to analyze the transport phenomena. For this, numerous image processing techniques have been proposed, showing good performance. However, they require trial-and-error optimization of thresholding parameters, which are not universal for all experimental conditions; thus, their accuracy is highly dependent on human experience, and the overall processing cost is high. Motivated by the remarkable improvements in deep learning-based image processing, we trained the Mask R-CNN to develop an automated bubble detection and mask extraction tool that works universally in gas-liquid two-phase flows. The training dataset was rigorously optimized to improve the model performance and delay overfitting with a finite amount of data. The range of detectable bubble size (particularly smaller bubbles) could be extended using a customized weighted loss function. Validation with different bubbly flows yields promising results, with AP reaching 98%. Even while testing with bubble-swarm flows not included in the training set, the model detects more than 95% of the bubbles, which is equivalent or superior to conventional image processing methods. The pure processing speed for mask extraction is more than twice as fast as conventional approaches, even without counting the time required for tedious threshold parameter tuning. The present bubble detection and mask extraction tool is available online ( https://github.com/ywflow/BubMask ).
在进行多相流实验研究时,必须测量不同相之间的界面形状的时空变化,以分析传输现象。为此,已经提出了许多图像处理技术,这些技术都表现出了良好的性能。然而,它们需要反复试验优化阈值参数,而这些参数对于所有实验条件并不通用;因此,它们的准确性高度依赖于人类的经验,并且整体处理成本也很高。受基于深度学习的图像处理显著改进的启发,我们使用 Mask R-CNN 进行训练,开发了一种通用的气液两相流中的自动气泡检测和掩模提取工具。训练数据集经过严格优化,以提高模型性能并在有限的数据量下延迟过拟合。通过使用定制的加权损失函数,可以扩展可检测气泡尺寸(尤其是较小的气泡)的范围。对不同的气泡流进行验证,得到了有希望的结果,AP 达到 98%。即使在测试中使用了不在训练集中的气泡群流,该模型也能检测到超过 95%的气泡,这与传统的图像处理方法相当或更优。与传统方法相比,掩模提取的纯处理速度快了一倍以上,甚至没有计算繁琐的阈值参数调整所需的时间。目前的气泡检测和掩模提取工具可以在网上获取( https://github.com/ywflow/BubMask )。