AUTOMATIC DETERMINATION OF THE DEFORMATION INDEX OF CAST IRON MICROSTRUCTURE GRAINS USING C++ AND OPENCV
Keywords:
cast iron, microstructure analysis, C , OpenCV, deformation index, morphology, metallographyAbstract
This paper presents a C++ and OpenCV-based algorithm for the automatic determination of geometric parameters (area, perimeter, aspect ratio, eccentricity, shape factor) of cast iron microstructure grains and the calculation of the deformation index (DI). The proposed method includes Otsu thresholding, morphological cleaning, contour detection, and ellipse fitting. For each grain, the DI value was determined, followed by statistical analysis (mean, median, minimum, maximum) and distribution plotting. This approach can serve as an effective tool for predicting the mechanical properties of metals and optimizing heat treatment processes.
References
ГОСТ 5639–82. Металлы. Металлографическое определение размера зерна. – М.: Изд-во стандартов, 1982. – 16 с.
Russ, J. C. The Image Processing Handbook. – 7th ed. – CRC Press, 2016. – 1052 p. – ISBN 978-1-4987-4725-0.
Chen, L.; Wang, X.; Zhang, H. Automatic microstructure segmentation in metallographic images using deep learning techniques // Materials Characterization. – 2021. – Vol. 175. – P. 111052. – DOI: 10.1016/j.matchar.2021.111052.
Каримов, С. Я. Извлечение и оценка морфологических параметров частиц на SEM-изображениях с применением C++ и OpenCV // Journal of New Century Innovations. – 2025. – № 78(3). – С. 96–102.
Karimov, S. Y. Mis qotishmalarining SEM tasvirlarida donalarni kompyuter ko‘rish asosida topologik klassifikatsiyasi // Oriental Renaissance: Innovative, Educational, Natural and Social Sciences. – 2025. – № 5. – B. 174–181.
Gonzalez, R. C.; Woods, R. E. Digital Image Processing. – 4th ed. – Pearson Education, 2018. – 1168 p. – ISBN 978-0-13-335672-4.
Бернштейн, М. Л.; Рахштадт, А. Г. Металловедение и термическая обработка стали: справочник. – М.: Металлургия, 1983. – 352 с.
ASTM E112-13. Standard Test Methods for Determining Average Grain Size. – ASTM International, 2013. – 28 p.
Downloads
Published
How to Cite
License
Copyright (c) 2025 Sardor Karimov, Ilxomjon Samandarov

This work is licensed under a Creative Commons Attribution 4.0 International License.