Abstract
We present an image processing algorithm developed for quantitative analysis of directional solidification of metal alloys in thin cells using x-ray imaging. Our methodology allows to identify the fluid volume, fluid channels and cavities, and to separate them from the solidified structures. It also allows morphological analysis within the solid fraction, including automatic decomposition into dominant grains by orientation and connectivity. In addition, the interplay between solidification and convection can be studied by characterizing convection plumes in the fluid, and solute concentrations above the developing solidification front. The image filters used enable the developed code (open-source) to work reliably even for single images with low signal-to-noise ratio, low contrast-to-noise ratio, and low image resolution. This is demonstrated by applying the code to several dynamic in situ x-ray imaging experiments with a solidifying gallium–indium alloy in a thin cell. Grain (and global) dendrite orientation statistics, convective plume parameterization, etc. can be obtained from the code output. The limitations of the presented approach are also explained.
Similar content being viewed by others
Data availability
Both input and output for the image processing code, as well as associated visuals, are available on demand—please contact the corresponding authors.
Code availability
The code is open-source, and is available on GitHub: Mihails-Birjukovs/Meso-scale_Solidification_Analysis.
References
Amoorezaei M, Gurevich S, Provatas N (2012) Orientation selection in solidification patterning. Acta Materialia-ACTA MATER. https://doi.org/10.1016/j.actamat.2011.10.006
Anderson D, Guba P (2020) Convective phenomena in mushy layers. Ann Rev Fluid Mech. https://doi.org/10.1146/annurev-fluid-010719-060332
Asta M, Beckermann C, Karma A, Kurz W, Napolitano R, Plapp M, Purdy G, Rappaz M, Trivedi R (2009) Solidification microstructures and solid-state parallels: recent developments, future directions. Acta Mater 57:941–971. https://doi.org/10.1016/j.actamat.2008.10.020
Auburtin P, Wang T, Cockcroft S, Mitchell A (2000) Freckle formation and freckle criterion in superalloy castings. Metall Mater Trans B 31:801–811. https://doi.org/10.1007/s11663-000-0117-9
Becker M, Sturz L, Bräuer D, Kargl F (2020) A comparative in situ x-radiography and dnn model study of solidification characteristics of an equiaxed dendritic al-ge alloy sample. Acta Mater 201:286–302. https://doi.org/10.1016/j.actamat.2020.09.078
Beckermann C (2002) Modelling of macrosegregation: applications and future needs. Int Mater Rev 47:243–261. https://doi.org/10.1179/095066002225006557
Beckermann C, Gu J, Boettinger W (2000) Development of a freckle predictor via rayleigh number method for single-crystal nickel-base superalloy castings. Metal Mater Trans A 31:2545–2557. https://doi.org/10.1007/s11661-000-0199-7
Birjukovs M, Lappan T (2022) Particle tracking velocimetry in liquid gallium flow around a cylindrical obstacle. Exp Fluids. https://doi.org/10.1007/s00348-022-03445-2
Birjukovs M, Trtik P, Kaestner A, Hovind J, Klevs M, Gawryluk DJ, Thomsen K, Jakovics A (2021) Resolving gas bubbles ascending in liquid metal from low-snr neutron radiography images. Appl Sci. https://doi.org/10.3390/app11209710
Birjukovs M, Zvejnieks P, Lappan T, Klevs M, Heitkam S, Trtik P, Mannes D, Eckert S, Jakovics A (2022) Particle tracking velocimetry and trajectory curvature statistics for particle-laden liquid metal flow in the wake of a cylindrical obstacle. https://doi.org/10.48550/ARXIV.2206.11033
Boden S, Eckert S, Willers B, Gerbeth G (2008) X-ray radioscopic visualization of the solutal convection during solidification of a Ga-30 wt pct in alloy. Metal Mater Trans A 39:613–623. https://doi.org/10.1007/s11661-007-9462-5
Cai B, Kao A, Boller E, Magdysyuk OV, Atwood R, Vo NT, Pericleous K, Lee P (2020) Revealing the mechanisms by which magneto-hydrodynamics disrupts solidification microstructures. Acta Mater. https://doi.org/10.1016/j.actamat.2020.06.041
Canny J (1986) A computational approach to edge detection. Trans Patt Anal Mach Intell IEEE 8:679–698. https://doi.org/10.1109/TPAMI.1986.4767851
Coll B, Morel J-M (2005) A non-local algorithm for image denoising 2:60–652. https://doi.org/10.1109/CVPR.2005.38
Dabov K, Foi A, Katkovnik V, Egiazarian K (2006) Image denoising with block-matching and 3d filtering. Proc SPIE-Int Soc Opt Eng 6064:354–365. https://doi.org/10.1117/12.643267
Dabov K, Foi A, Katkovnik V, Egiazarian K (2007) Image denoising by sparse 3-d transform-domain collaborative filtering. IEEE Trans Image Process Publicat IEEE Signal Process Soc 16:2080–95. https://doi.org/10.1109/TIP.2007.901238
Dabov K, Foi A, Katkovnik V, Egiazarian K (2009) Bm3d image denoising with shape-adaptive principal component analysis. Proc. Workshop on Signal Processing with Adaptive Sparse Structured Representations (SPARS’09)
Davy A, Ehret T (2021) Gpu acceleration of nl-means, bm3d and vbm3d. J Real-Time Imag Process. https://doi.org/10.1007/s11554-020-00945-4
Delaleau P, Beckermann C, Mathiesen R, Arnberg L (2010) Mesoscopic simulation of dendritic growth observed in x-ray video microscopy during directional solidification of Al-Cu alloys. ISIJ Int 50:1886–1894. https://doi.org/10.2355/isijinternational.50.1886
Eckert S, Nikrityuk P, Willers B, Raebiger D, Shevchenko N, Neumann-Heyme H, Travnikov V, Odenbach S, Voigt A, Eckert K (2013) Electromagnetic melt flow control during solidification of metallic alloys. Eur Phys J Spec Top 220:123–137. https://doi.org/10.1140/epjst/e2013-01802-7
Gonzalez R, Woods R (2006) Digital Image Processing,
Haralick R, Sternberg S, Zhuang X (1987) Image analysis using mathematical morphology. Trans Patt Anal Mach Intell IEEE 9:532–550. https://doi.org/10.1109/TPAMI.1987.4767941
Harris C, Stephens M (1988) A combined corner and edge detector. Proceedings 4th Alvey Vision Conference 1988, 147–151. https://doi.org/10.5244/C.2.23
Haxhimali T, Karma A, Gonzales F, Rappaz M (2006) Orientation selection in dendritic evolution. Nat Mater 5:660–4. https://doi.org/10.1038/nmat1693
He S, Shevchenko N, Eckert S (2020) In situ observation of directional solidification in Ga-in alloy under a transverse dc magnetic field. IOP Conf Ser Mater Sci Eng 861:012025. https://doi.org/10.1088/1757-899X/861/1/012025
Honzátko D, Kruliš M (2019) Accelerating block-matching and 3d filtering method for image denoising on gpus. J Real-Time Imag Process 16:1–15. https://doi.org/10.1007/s11554-017-0737-9
Hughes T, Robinson AJ, Mcfadden S (2021) Multiple dendrite tip tracking for in-situ directional solidification: experiments and comparisons to theory. Mater Today Commun 29:102807. https://doi.org/10.1016/j.mtcomm.2021.102807
Kao A, Shevchenko N, Alexandrakis M, Krastins I, Eckert S, Pericleous K (2019) Thermal dependence of large-scale freckle defect formation. Philos Trans Ser A Math Phys Eng Sci. https://doi.org/10.1098/rsta.2018.0206
Kao A, Shevchenko N, He S, Lee P, Eckert S, Pericleous K (2020) Magnetic effects on microstructure and solute plume dynamics of directionally solidifying ga-in alloy. JOM. https://doi.org/10.1007/s11837-020-04305-2
Karagadde S, Yuan L, Shevchenko N, Eckert S, Lee P (2014) 3-d microstructural model of freckle formation validated using in situ experiments. Acta Mater 79:168–180. https://doi.org/10.1016/j.actamat.2014.07.002
Kaufman L, Rousseeuw P (1990) Partitioning Around Medoids (Program PAM), pp. 68–125. https://doi.org/10.1002/9780470316801.ch2
Lebrun M (2012) An analysis and implementation of the BM3D image denoising method. Imag Process Line 2:175–213. https://doi.org/10.5201/ipol.2012.l-bm3d
Liu T (2017) Open optical flow: an open source program for extraction of velocity fields from flow visualization images. J Open Res Softw. https://doi.org/10.5334/jors.168
Liu T, Zboray R, Trtik P (2021) Optical flow method for neutron radiography flow diagnostics. Phys Fluids 33:101702. https://doi.org/10.1063/5.0063836
Madison JD Investigation of solidification defect formation by three-dimensional reconstruction of dendritic structures. https://hdl.handle.net/2027.42/76001
Makinen Y, Azzari L, Foi A (2020) Collaborative filtering of correlated noise: exact transform-domain variance for improved shrinkage and patch matching. IEEE Trans Imag Process PP https://doi.org/10.1109/TIP.2020.3014721
Mirihanage W, Falch K, Snigireva I, Snigirev A, Li Y, Arnberg L, Mathiesen R (2014) Retrieval of three-dimensional spatial information from fast in situ two-dimensional synchrotron radiography of solidification microstructure evolution. Acta Mater 81:241–247. https://doi.org/10.1016/j.actamat.2014.08.016
Nenchev B, Strickland J, Tassenberg K, Perry S, Gill S, Dong HB (2020) Automatic recognition of dendritic solidification structures: Denmap. J Imag 6:19. https://doi.org/10.3390/jimaging6040019
Otsu N (1979) A threshold selection method from gray-level histograms. IEEE Trans Syst Man Cybern 9:62–66
Ramirez J, Beckermann C (2003) Evaluation of a Rayleigh-number-based freckle criterion for Pb-Sn alloys and Ni-base superalloys. Metal Mater Trans A 34:1525–1536. https://doi.org/10.1007/s11661-003-0264-0
Reed R, Tao T, Warnken N (2009) Alloys-by-design: application to nickel-based single crystal superalloys. Acta Mater 57:5898–5913. https://doi.org/10.1016/j.actamat.2009.08.018
Reinhart G, Grange D, Abou Khalil L, Mangelinck-Noël N, Niane N, Maguin V, Guillemot G, Gandin C.-A, Nguyen-Thi H (2020) Impact of solute flow during directional solidification of a ni-based alloy: In-situ and real-time x-radiography
Rudin LI, Osher S, Fatemi E (1992) Nonlinear total variation based noise removal algorithms. Physica D: Nonlin Phenom 60(1):259–268. https://doi.org/10.1016/0167-2789(92)90242-F
Saad A, GANDIN C.-A, Bellet M, Shevchenko N, Eckert S (2015) Simulation of channel segregation during directional solidification of in-75 wt pct ga. qualitative comparison with in situ observations. Metal Mater Trans A (accepted). https://doi.org/10.1007/s11661-015-2963-8
Sánchez J, Monzón N, Salgado A (2018) An analysis and implementation of the Harris corner detector. Imag Process Line 8:305–328. https://doi.org/10.5201/ipol.2018.229
Schindelin J, Arganda-Carreras I, Frise E, Kaynig V, Longair M, Pietzsch T, Preibisch S, Rueden C, Saalfeld S, Schmid B, Tinevez J-Y, White D, Hartenstein V, Eliceiri K, Tomancak P, Cardona A (2012) Fiji: an open-source platform for biological-image analysis. Nat Meth 9:676–82. https://doi.org/10.1038/nmeth.2019
Schneider C, Rasband W, Eliceiri K (2012) Nih image to imagej: 25 years of image analysis. Nat Meth. https://doi.org/10.1038/nmeth.2089
Shevchenko N, Boden S, Gerbeth G, Eckert S (2013) Chimney formation in solidifying ga-25wt pct in alloys under the influence of thermosolutal melt convection. Metal Mater Trans A. https://doi.org/10.1007/s11661-013-1711-1
Shevchenko N, Keplinger O, Sokolova O, Eckert S (2015) The effect of natural and forced melt convection on dendritic solidification in Ga-in alloys. J Cryst Growth. https://doi.org/10.1016/j.jcrysgro.2014.11.043
Shevchenko N, Neumann-Heyme H, Pickmann C, Schaberger-Zimmermann E, Zimmermann G, Eckert K, Eckert S (2017) Investigations of fluid flow effects on dendritic solidification: consequences on fragmentation, macrosegregation and the influence of electromagnetic stirring. IOP Conf Ser Mater Sci Eng 228:012005. https://doi.org/10.1088/1757-899X/228/1/012005
Soar P, Kao A, Djambazov G, Shevchenko N, Eckert S, Pericleous K (2020) The integration of structural mechanics into microstructure solidification modelling. IOP Conf Ser Mater Sci Eng 861:012054. https://doi.org/10.1088/1757-899X/861/1/012054
Soltani H, Reinhart G, Benoudia M, Ngomesse F, Zahzouh M, Nguyen-Thi H (2022) Equiaxed grain structure formation during directional solidification of a refined al-20wt%cu alloy: in situ analysis of temperature gradient effects. J Cryst Growth 587:126645. https://doi.org/10.1016/j.jcrysgro.2022.126645
Stefanescu D, Ruxanda R (2004) Fundamentals of solidification 9:71–92. https://doi.org/10.31399/asm.hb.v09.a0003724
Strickland J, Nenchev B, Dong HB (2020) On directional dendritic growth and primary spacing-a review. Crystals 10:627. https://doi.org/10.3390/cryst10070627
Tang Y, Wu Y, Zhang Y, Dai Y, Dong Q, Han Y, Zhu G, Zhang J, Fu Y, Sun B (2021) Intermittent nucleation and periodic growth of grains under thermo-solutal convection during directional solidification of al-cu alloy. Acta Mater 212:116861. https://doi.org/10.1016/j.actamat.2021.116861
Tassenberg K, Nenchev B, Strickland J, Perry S, Weston D (2020) Denmap single crystal solidification structure feature extraction: automation and application. Mater Charact. https://doi.org/10.1016/j.matchar.2020.110763
Tomasi C, Manduchi R (1998) Bilateral filtering for gray and color images 98:839–846. https://doi.org/10.1109/ICCV.1998.710815
Tone Reproduction, pp. 47–67. Wiley Ltd (2004). Chap. 6. https://doi.org/10.1002/0470024275.ch6
Viardin A, Noth K, Torabi Rad M, Sturz L (2022) Automatic detection of equiaxed dendrites using computer vision neural networks. https://doi.org/10.48550/arXiv.2207.07428
Wan W, Li D, Wang H, Zhao L, Shen X, Sun D, Chen J, Xiao C (2021) Automatic identification and quantitative characterization of primary dendrite microstructure based on machine learning. Crystals 11:1060. https://doi.org/10.3390/cryst11091060
Wang N, Tang Y, Wu Y, Zhang Y, Dai Y, Zhang J, Zhang R, Xu Y, Sun B (2021) Dynamic evolution of microstructure morphology in thin-sample solidification: deep learning assisted synchrotron x-ray radiography. Mater Charact 181:111451. https://doi.org/10.1016/j.matchar.2021.111451
Werner T, Becker M, Baumann J, Pickmann C, Sturz L, Kargl F (2021) In situ observation of the impact of hydrogen bubbles in Al-Cu melt on directional dendritic solidification. J Mater Sci. https://doi.org/10.1007/s10853-020-05748-3
Wolfram Research (2010) Morphological Branch Points, Wolfram Language function. https://reference.wolfram.com/language/ref/MorphologicalBranchPoints.html
Wolfram Research (2017) BrightnessEqualize, Wolfram Language function. https://reference.wolfram.com/language/ref/BrightnessEqualize.html
Funding
This research is supported by Hemlholtz-Zentrum Dresden-Rossendorf (HZDR) and a DAAD Short-Term Grant (2021, 57552336). The authors acknowledge the project “Development of numerical modeling approaches to study complex multiphysical interactions in electromagnetic liquid metal technologies” (No. 1.1.1.1/18/A/108) wherein some of the utilized image processing methods were developed.
Author information
Authors and Affiliations
Contributions
MB developed and implemented the image processing code, and processed the data used in the paper. NS provided the data (x-ray images) and helped test the code together with MB, SE provided funding. The first version of the manuscript was written by MB. All co-authors (MB, NS and SE) contributed to manuscript editing and review prior to submission.
Corresponding author
Ethics declarations
Conflict of interest
None to declare.
Ethical approval
Not applicable.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Below is the link to the electronic supplementary material.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Birjukovs, M., Shevchenko, N. & Eckert, S. An image processing pipeline for in situ dynamic x-ray imaging of directional solidification of metal alloys in thin cells. Exp Fluids 64, 131 (2023). https://doi.org/10.1007/s00348-023-03671-2
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s00348-023-03671-2