ALGORITHM FOR AUTOMATIC CREATION OF SEGMENTATION MASK FOR DETECTION OF BIOLOGICAL OBJECTS

Authors

DOI:

https://doi.org/10.20998/2079-0023.2025.02.10

Keywords:

image segmentation, image processing, adaptive thresholding, Dice coefficient, artificial neural networks, automatic labeling, computer vision, information technology

Abstract

The article presents a method for automatically creating segmentation masks for biomedical images, which significantly reduces the laboriousness of manual annotation and increases the reproducibility of data preparation. The proposed approach combines adaptive thresholding with Gaussian matrix coefficients, morphological operations, and geometric filtering of contours by area and roundness coefficient. This combination allows for effective separation of cellular structures under conditions of uneven illumination, noise, and low contrast, which are typical problems of microscopic images. The method was tested on the BBBC030v1 dataset, which contains 60 images of Chinese hamster ovary cells. For each image, the automatically created mask was compared with the provided ground truth annotation using the Dice coefficient. The average value was 0.8954, the median was 0.9013, and the standard deviation was 0.0254, which indicates high accuracy and stability of the method. The narrow interquartile range (IQR = 0.0215) confirms the uniformity of the algorithm's performance on most samples, while single outliers (0.80–0.85) are associated with atypical or low-contrast images. The overall result demonstrates that the classical segmentation approach without the use of neural networks can achieve quality comparable to manual expert labeling. To verify the practical suitability of the generated masks, they were used to train the U-Net neural network for the segmentation task. Comparison with training on real masks showed almost identical results (0.9036 vs. 0.9037), which confirms the possibility of full or partial replacement of manual annotation by an automatic approach. The developed method can be applied to accelerate the preparation of large biomedical datasets and integration into decision support systems in cytology, histology and other fields of biomedicine.

Author Biographies

Anton Kovalenko, National Technical University "Kharkiv Polytechnic Institute"

National Technical University "Kharkiv Polytechnic Institute", PhD Student, Kharkiv, Ukraine

Valerii Severyn, National Technical University "Kharkiv Polytechnic Institute"

Doctor of Technical Sciences, Professor, Professor of Department System Analysis and InformationAnalytical Technologies National Technical University "Kharkiv Polytechnic Institute", Kharkiv, Ukraine

References

Kovalenko S. M., Kutsenko O. S., Kovalenko S. V., Kovalenko A. S. Approach to the automatic creation of an annotated dataset for the detection, localization and classification of blood cells in an image. Radio Electronics, Computer Science, Control. 2024, no. 1, pp. 128–139. https://doi.org/10.15588/1607-3274-2024-1-12.

Kovalenko A. Optymizatsiia protsesu anotatsii zobrazhen biolohichnykh obiektiv metodamy kompiuternoho zoru. [Optimization of the annotation process for biological object images using computer vision methods]. Visnyk Natsionalnoho tekhnichnoho universytetu «KhPI». Seriia: Systemnyi analiz, upravlinnia ta informatsiini tekhnolohii. [Bulletin of National Technical University "KhPI". Series: System Analysis, Control and Information Technologies]. Kharkiv, NTU "KhPI" Publ., 2025, no. 1 (13), pp. 77–82. https://doi.org/10.20998/2079-0023.2025.01.11 (In Ukr.).

Hrytsyk V. Doslidzhennia teorii zobrazhen mnozhyny tochok i operatsii nad nymy [Research into the theory of images of sets of points and operations on them]. Prykladni pytannia matematychnoho modeliuvannia [Applied issues of mathematical modeling]. 2021, no. 4(2.1), pp. 102–111. (In Ukr.).

Hrytsyk V. V. Doslidzhennia metodiv sehmentatsii zobrazhen pry yikh zastosuvanni v prykladnykh zadachakh [Research on image segmentation methods in their application in applied problems]. Prykladni pytannia matematychnoho modeliuvannia [Applied issues of mathematical modeling]. 2019, vol. 2, no. 1, pp. 38–43. https://doi.org/10.32782/2618-0340-2019-3-2. (In Ukr.).

Liang Z., Wang T., Zhang X., Sun J., Shen J. Tree energy loss: Towards sparsely annotated semantic segmentation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2022, pp. 16907-16916.

Zhong J, Du S, Shen C, Chen Y, Gao M, Naidu M, Shi X, Fu Y. Energy based segmentation methods for images with non-Gaussian noise. Sci Rep. 2025, vol. 15, is.1:25707. DOI: 10.1038/s41598-025-09211-8. PMID: 40670447; PMCID: PMC12267753.

Chan T. F., Vese L. A. Active Contours Without Edges. IEEE Transactions on image processing. 2001, vol. 10, is. 2, pp. 266–277.

Boucheron L. E., Valluri M., McAteer R. T. J. Segmentation of coronal holes using active contours without edges. Solar Physics. 2016. Vol. 291, is. 8, pp. 2353–2372.

Ronneberger O., Fischer P., Brox T. U-Net: Convolutional Networks for Biomedical Image Segmentation. In Medical Image Computing and Computer-Assisted Intervention (MICCAI). 2015, pp. 234–241.

Haque I. R. I., Neubert J. Deep learning approaches to biomedical image segmentation. Informatics in Medicine Unlocked. 2020, vol. 18, article 100297.

Wang J., Zhu H., Wang SH. et al. A Review of Deep Learning on Medical Image Analysis. Mobile Netw Appl. 2021, vol. 26, pp. 351–380. https://doi.org/10.1007/s11036-020-01672-7.

Koos K., Molnár J., Kelemen L., Tamás G., Horvath P. DIC image reconstruction using an energy minimization framework to visualize optical path length distribution. Scientific reports. 2016, vol. 6, article 30420.

Published

2025-12-29

How to Cite

Kovalenko, A., & Severyn, V. (2025). ALGORITHM FOR AUTOMATIC CREATION OF SEGMENTATION MASK FOR DETECTION OF BIOLOGICAL OBJECTS. Bulletin of National Technical University "KhPI". Series: System Analysis, Control and Information Technologies, (2 (14), 79–84. https://doi.org/10.20998/2079-0023.2025.02.10

Issue

Section

INFORMATION TECHNOLOGY