Python-Based Image Segmentation for Corona Plasma Ozone Microbubbles Diameter Analysis
Authors:
- Ahmad AbdurrahmanAAAhmad Abdurrahman
- Sri SuciatiSSSri Suciati
Open Access
- 22 February 2026
- journal article
- Published by Universitas Garut in Jurnal Pendidikan dan Ilmu Fisika
- Vol. 6 (1) , 84-91
Abstract
Accurate measurement of microbubble size is an essential step in evaluating the performance of corona-discharge-based ozone systems because bubble diameter distribution strongly influences interfacial area and mass transfer efficiency. This study aimed to develop a Python-based application for automatic microbubble diameter analysis using digital image segmentation. The program was developed by integrating OpenCV, NumPy, Pillow, Tkinter, and Matplotlib to support image loading, region-of-interest selection, preprocessing, thresholding, contour detection, visualization, and bubble diameter calculation. Size calibration was performed using a field-of-view approach based on camera sensor parameters and lens magnification to determine the pixel-to-micrometer conversion factor. Bubble diameter was calculated using the equivalent circular diameter derived from the segmented contour area. The developed application successfully distinguished bubble populations generated by two ozone diffusers, producing average diameters of 4.09 for the C-50 diffuser and 3.37 for the C-80 diffuser. These results demonstrate that the program can automatically detect microbubbles and provide systematic size distribution for laboratory-scale image analysis. The proposed application offers a practical, transparent, and open-source solution for rapid microbubble diameter measurement and has potential for broader application in gas–liquid bubble image analysis.Keywords
This publication has 14 references indexed in Scilit:
- Automated microstructural segmentation and grain size measurement of Al + SiC nanocomposites using advanced image processing techniques on backscattered electron imagesMaterials Characterization, 2025
- Image thresholding approaches for medical image segmentation - short literature reviewProcedia Computer Science, 2023
- iCorrVision-3D: An integrated python-based open-source Digital Image Correlation Software for in-plane and out-of-plane measurements (Part 2)SoftwareX, 2022
- Deep learning-assisted segmentation of bubble image shadowgraphJournal of Visualization, 2022
- Plasma bubbles: a route to sustainable chemistryAAPPS Bulletin, 2021
- Deep learning-based automated and universal bubble detection and mask extraction in complex two-phase flowsScientific Reports, 2021
- Microbubbles and their application to ozonation in water treatment: A critical review exploring their benefit and future applicationCritical Reviews in Environmental Science and Technology, 2020
- An automated image analysing routine for estimation of equivalent diameter in high-speed image sequences with high accuracy and its validationExperimental Thermal and Fluid Science, 2018
- DiameterJ: A validated open source nanofiber diameter measurement toolBiomaterials, 2015
- Contrast, resolution, pixelation, dynamic range and signal‐to‐noise ratio: fundamental limits to resolution in fluorescence light microscopyJournal of Microscopy, 1998