Michael Häusler‡
a,
Raphael Wilhelmer‡
a,
Rahulkumar J. Sinojiyaa,
Olga Stamatib,
Julie Villanovac,
Christoph Stangld,
Stefan Kollerd and
Roland Brunner
*a
aMaterials Center Leoben Forschung GmbH, 8700 Leoben, Austria. E-mail: roland.brunner@mcl.at
bUniv. Grenoble Alpes, CNRS, Grenoble INP, 3SR, 38000 Grenoble, France
cESRF-The European Synchrotron, ID16B, 38000 Grenoble, France
dVarta Innovation GmbH, 8020 Graz, Austria
First published on 11th July 2025
Monitoring the evolution of electrode microstructures at the sub-micron scale during electrochemical charging is crucial for elucidating battery aging mechanisms. Four-dimensional (4D) synchrotron X-ray nano-tomography (SXCT), defined as time-resolved three-dimensional (3D) imaging, allows the perception of such dynamic processes. Yet, 4D SXCT faces a dilemma between resolution and field-of-view including the troublesome invasive beam exposure. In this work, we demonstrate the potential of generative AI (genAI) models to significantly enhance 4D SXCT image datasets. Specifically, we apply a trained Inversion by Direct Iteration (InDI) algorithm suitable to improve the spatial resolution of measured unseen 4D SXCT image data, obtained during a lithiation cycle, by a factor of about two, while achieving an eight times larger field-of-view (FOV) as typically provided by such a resolution. Compared to other image enhancement algorithms like CNNs or GANs, InDI exhibits improved contrast and training stability. Besides, when compared to classical diffusion models, the number of iterations is reduced from several hundreds to roughly one dozen. Our results demonstrate the tremendous potential of the InDI model, facilitating enhanced possibilities to quantify the microstructure evolution during cycling with sufficient FOV and spatial resolution. Furthermore, the InDI framework has the potential to generalize as well as illustrate a broad applicability across many areas of materials science and imaging-driven fields, enabling the observation of dynamic processes on the nano-scale.
Silicon-based anodes are among the most promising candidates for next-generation lithium-ion batteries due to their exceptionally high theoretical capacity, approximately ten times that of conventional graphite anodes.5–14 Consequently, they have gained significant attention in the scientific community and are considered crucial for advanced energy storage solutions.12 However, practical applications of silicon (Si) anodes face substantial challenges, particularly at high Si content, which is essential to reach higher energy densities and to meet the requirements for future e-mobility and storage applications.6,11 During lithiation/delithiation, silicon undergoes large volume expansions and contractions, leading to particle fracture, pore formation, solid-electrolyte interphase (SEI) reformation and mechanical stress accumulation.8,10,13 These underlying aging mechanisms cause microstructure degradation and are correlated with rapid capacity fade and limit the cycle life.8,14 Understanding these dynamic processes, especially at the particle level is essential for overcoming these limitations and unlocking the full potential of silicon-based anodes.
Various high-resolution imaging techniques have been developed to study the microstructure of battery electrodes, including Si-particles, critical interfaces and material phases relevant to modern batteries.15–25 Image quality plays a crucial role in enabling the extraction of physical descriptors through image classification, such as microstructural features, which are essential for modelling, process optimization, and materials development.
To date, researchers have predominantly relied on post-mortem investigations using high-resolution techniques such as scanning electron microscopy (SEM) or transmission electron microscopy (TEM), as these methods are experimentally straightforward and widely accessible.19,21,26 These methods feature high contrast and resolution, revealing particle shapes, particle interfaces and material phase information, as well as structural changes upon electrochemical loading conditions at the micro- and nanoscale.26–29 These ex situ techniques are typically conducted under high vacuum conditions and often require invasive sample preparation steps that can alter the material's native state. While in situ variants, enabling us to witness the microstructure evolution over time, of SEM and TEM exist, they are limited by small sample volumes and idealized conditions, limiting their suitability for studying operational battery systems.26,30,31
X-ray-based methods, such as synchrotron X-ray computed tomography (SXCT), have emerged as powerful tools for three-dimensional imaging in battery research.17,22–25 Their non-destructive nature allows repeated imaging of the same sample, allowing both post-mortem (ex situ) analyses of battery structures and in situ studies of structural evolution during operation.23,32,33 Micro-SXCT, with voxel sizes in hundreds of nanometres, facilitates ex situ and in situ investigations of entire battery cells, including phenomena such as electrode cracking34 and thermal effects.35 However, its limited spatial resolution prevents the visualization of particle-level features, making it unsuitable for studying associated degradation mechanisms. Nano-SXCT addresses this limitation by offering a spatial resolution in the nm-regime, enabling high-resolution imaging at the level of individual electrodes.22–24,33
However, the benefits of nano-SXCT come with inherent trade-offs. High-resolution scans are typically restricted to small measurement volumes, ranging from a few micrometres to several hundred micrometres, which may not be representative of the overall electrode architecture.22,24,33 While in situ nano-tomography has successfully been used to visualize micrometre-scale features such as crack propagation, pore formation and lithiation-induced structural changes at the electrode level, achieving sufficient signal-to-noise ratios under in situ conditions presents additional challenges.23,24 Specifically, a high photon flux is often required to minimize motion artefacts during rapid scanning, which in turn increases the risk of beam-induced damage in sensitive battery materials.36,37 Balancing the spatial resolution, field-of-view (FOV) and beam exposure remains a fundamental challenge for resolving sub-micrometre features across representative volumes.17,33,38
The enhancement and restoration of image quality is a fundamental problem in digital image processing, with broad applications ranging from medical imaging39,40 and remote sensing41,42 to digital photography and scientific visualization.20,43 Techniques such as convolutional neural networks (CNNs),44,45 generative adversarial networks (GANs),44,46 and diffusion-based models47,48 have shown the ability to recover intricate details, mostly outperforming classical algorithms such as histogram-equalization,49,50 interpolation-algorithms51 or denoising filters.39,52 Nevertheless, CNNs are affected by regression-to-the-mean,53,54 GANs suffer from training instability46 and diffusion models, while offering stable training and high-quality outputs, are computationally expensive due to their iterative nature. Additionally, diffusion models require an analytic form of the degradation process as prior knowledge.54
A promising alternative to the aforementioned methods is the recently introduced diffusion-like Inversion by Direct Iteration (InDI) algorithm for realistic and detailed image restoration.54 Unlike conventional generative diffusion models55 which start with an image typically consisting of purely Gaussian noise, InDI uses a pair of low-quality/high-quality (LQ/HQ) images, starting with the low-quality image as an input and refining it iteratively in several steps by learning the physical degradation processes. Using the LQ image as prior also significantly reduces the number of iterations and simplifies the implementation by avoiding conditioning of the model.54,56
Despite their superior performance, highly generative ML-based algorithms are prone to some fundamental challenges, such as hallucinations,57,58 which are unphysical or incorrect predictions that drastically limit reliability in practical applications. This underscores the need for careful testing and evaluation to ensure these approaches can accurately reproduce the underlying physical behaviour of the systems being studied. In fact, since InDI learns the degradation process directly from the real data,54 it reflects a more deterministic ansatz; therefore, it should also be less prone to hallucinations than standard diffusion models.
In this work, we present a generative AI-based workflow for enhancing 4D nano-SXCT images of miniaturized lithium-ion batteries comprising a silicon suboxide (SiOx) anode, a separator and an NMC cathode. The custom-designed cells optimize X-ray transmission and spatial resolution, enabling in situ nano-tomography at the single-particle level with feature sizes on the order of several hundreds of nanometres. Unlike traditional SXCT workflows which struggle with trade-offs between contrast, resolution, beam damage and field-of-view, the presented approach leverages the generative artificial intelligence (genAI)-based InDI algorithm to achieve superior image quality while maintaining a large field-of-view. Notably, the model requires only a single pair of low-quality and high-quality scans for training, which can be obtained immediately after the in situ measurement, minimizing the risk of beam-induced artefacts during electrochemical charging. The InDI-enhanced images show significantly improved perceptual quality and a twofold increase in measured spatial resolution, enabling more accurate downstream image analyses such as semantic segmentation. This facilitates the extraction of physical descriptors and microstructural features, crucial for understanding degradation mechanisms and capacity fade in silicon anodes. By providing clearer and more detailed temporal information, our workflow supports the investigation of dynamic processes during battery operation and serves as a foundation for both physics-based and data-driven modelling approaches. Moreover, our results demonstrate that InDI minimizes the likelihood of introducing unphysical artefacts, making it especially well-suited for scientific applications where structural fidelity is essential. Furthermore, while this study focuses on lithium-ion battery materials, the presented workflow is not exclusive to this field and may have broad potential across various imaging-driven domains.
Fig. 1A schematically illustrates the in situ measurement setup at the ID16B beamline59 of ESRF, employing X-ray holo-nano-tomography60 suitable to trace the dynamic behaviour of the morphology during charging and discharging. The electrochemical cell has a cylindrical design measuring 1 mm in diameter, featuring a silicon-based anode, a polypropylene separator and a nickel–manganese–cobalt-oxide (NMC811) cathode. The cell is placed inside an in situ holder mounted on a rotating stage, allowing the X-rays to pass through in the direction perpendicular to the rotation axis. This configuration minimizes scattering artefacts from both the in situ cell holder and the copper current collector. The cell is connected to a potentiostat which is synchronized with the holo-tomography acquisition software,61 enabling automated charging/discharging while performing tomographic scans at programmed time intervals; further details are provided in the Materials and methods section and Fig. S1.†
Fig. 1B illustrates the inherent dilemma between the voxel size and field-of-view (FOV) in nano-SXCT. High-quality (HQ) reconstructions, defined in this work as having 50 × 50 × 50 nm3 voxel size in x, y and z planes, respectively, enable fine structural detail but limit the imaged volume to a small FOV. In contrast, low-quality (LQ) scans, defined in this work to have 100 × 100 × 100 nm3 voxel size, allow for a larger FOV at the expense of image quality. In this specific case, the LQ images capture a volume of ∼200 μm3, which is 8× larger than the FOV of the HQ scan. Additionally, the HQ scan increases photon density compared to the LQ one, posing additional problems to beam sensitive materials.
In Fig. 1C, the measurement and training strategy including validation as well as the application of the image enhancement algorithm on an unseen data set is illustrated. Initially, a single pair of LQ and HQ nano-tomography measurements of a battery cell is obtained. These two initial scans are used to train the InDI model in a supervised manner to enhance the quality of the LQ images to match the HQ ones. Noticeably, the measurement for the initial training is performed only once.
After supervised training of the InDI model with the initial HQ and LQ measurements, InDI can be applied to enhance images of different battery cells which the model has never seen before. To show this, we perform in situ nano-tomography measurements on a second but identical cell. However, this time, only the LQ scans are taken, reducing beam damage and capturing a higher FOV than the HQ scans do. Furthermore, these second measurements are done in three key time steps during electrochemical loading to show the chemical evolution of the cell. Importantly, the model is not retrained for this second dataset, since no HQ scans are available. Further details are provided in the Materials and methods section.
Fig. 1D presents an LQ 3D rendering of a selected volume of interest within the anode, and the same image with InDI applied. Dark grey regions correspond to SiOx particles embedded in a lighter grey matrix, which includes binder, electrolyte and material below the resolution limit. We note that the purpose of InDI enhancement is to combine a wide FOV with high image quality, especially focusing on resolving the particles.
In Fig. 1D, we display the workflow of enhancing the X-ray nano-tomography images using the generative InDI approach. First, we slice the 3D data into 2D images (xy-planes) and enhance each slice individually – significantly improving contrast. To ensure isotropic voxel sizes in all three dimensions, we apply bicubic interpolation of the enhanced grey values along the axial direction. While direct 3D enhancement algorithms exist,62–64 they usually require substantial computational resources, making them unfeasible for most research workflows. However, when changes between slices are small, a simple bicubic interpolation delivers equivalent results, see Fig. S2† for more information.
Our model architecture, depicted in Fig. 1D, follows a U-Net like structure with down-sampling and up-sampling blocks combined with skip connections. Because the InDI algorithm requires input and output images to have identical sizes, we first upscale the LQ scans using bicubic interpolation before the initial iteration. After the first iteration, the resulting enhanced image serves as the input for the next iteration, and this process continues until the desired quality is achieved or image quality degradation begins. Further details on the model architecture are provided in the Materials and methods section.
Fig. 2A shows an exemplary LQ xy-slice used for testing, along with its InDI-enhanced version. During testing, we observed that image quality improves for about 7 to 10 iterations in the InDI procedure. Decreasing the number of iterations produces blurrier images due to the so-called regression-to-the-mean effect.53 Contrarily, using a higher number of iterations leads to the amplification of unwanted noise or ring artefacts. Furthermore, the pixel-wise enhancements achieved by InDI cannot be solely accounted to a global contrast adjustments or histogram matching of the image.
Fig. 2B compares the HQ image with the LQ, as well as the InDI-enhanced image. A qualitative comparison between the experimental and generated images indicates that InDI improves both phase contrast and sharpness, revealing previously indistinguishable details in the LQ image. This effect is particularly evident on small particles and particle edges.
Fig. 2C quantifies the improvements using different metrics. Since the low- and high-quality images are not perfect pixel-wise matches, classical metrics for quantifying the restoration quality, such as the Peak Signal-to-Noise Ratio (PSNR) or Structural Similarity Index (SSIM),66 show close to no improvement due to InDI, even though quality has improved noticeably. These metrics heavily depend on pixel-level restorations, making them sensitive to even small pixel shifts, like translations or rotations, which can lead to inaccurate evaluations. To address this, we introduce two additional metrics that better capture physical image characteristics. The first is based on the Scale Invariant Feature Transform (SIFT) algorithm,67 which identifies congruent features between images. A higher number of congruent features indicates better restoration quality. Notably, applying InDI more than doubles the number of congruent features compared to the original LQ image, demonstrating its effectiveness in restoring fine details. More information on our SIFT metric is provided in the Materials and methods section.
Furthermore, we assess the spatial resolution, to quantify how well the SiOx particles within the anode can be distinguished from the background. Spatial resolution is defined as the full width at half-maximum (FWHM) between foreground particles and background pixels and has a unit of nm. Details can be found in Materials and methods as well as in Fig. S5.† In fact, the spatial resolution of the InDI-enhanced image (286 ± 25 nm) is comparable to that of the HQ image (357 ± 53 nm) and even surpasses it in some cases. The spatial resolution of the LQ image is 803 ± 135 nm and therefore significantly lower.
This slight superiority of InDI compared to the HQ image is likely due to a reduction in noise and artefacts. To test this argument, we evaluate the contrast-to-noise ratio (CNR) between foreground SiOx particles and background in Fig. 2C. The extracted CNR is 3.9 and 2.4 for the InDI enhanced and HQ images, respectively. For the LQ image data, the CNR is significantly lower, measuring 0.9.
Finally, we compare the InDI with CNN- and GAN-based model architectures. See the ESI† for further information on the model structure. As illustrated in Fig. S3 and S4,† the CNN-based architecture clearly suffers from regression-to-the-mean, while the GAN exhibits training instability and overamplifies unwanted image artefacts. The analysis of the spatial resolution obtained for the CNN and GAN is 550 ± 54 nm and 392 ± 68 nm, respectively, which are significantly higher than that obtained for the InDI model. The ability of InDI to achieve a balance between detailed reconstructions and avoiding unwanted artefacts is the main advantage compared to CNN-based models and GANs. It is also obvious that InDI provides a major speedup compared to classical diffusion-based algorithms. Classical diffusion-based models usually require up to several thousands of iterations55 for reconstruction.
Fig. 3A illustrates the microstructural time evolution of the Si-based anode captured by the in situ measurements. Three key time steps upon electrochemical charging (lithiation) are denoted as T0, T1, and T2. T0 represents the pristine, uncycled state. T1 corresponds to an intermediate stage during the first charging cycle. T2 denotes the fully charged state at the end of the first cycle. The left column shows original LQ in situ tomography slices, while the right column presents the corresponding enhanced images by applying the generative InDI model. To provide better visual insights, magnified regions of interest for all time steps are displayed in the middle column of Fig. 3A, emphasizing structural details and changes throughout the charging process. CNR values between background and SiOx particles are calculated to quantify changes between timesteps and improvements due to InDI, see Table 1 and Fig. 3A. In fact, the InDI enhanced images show a higher CNR in all cases. Also note that the CNR values depicted in Table 1 are higher than the ones denoted in Fig. 2C. This is mainly due to the absence of ring artefacts in the depicted regions of interest in Fig. 3A.
Time-steps | Contrast-to-noise-ratio (CNR) | |
---|---|---|
LQ in situ | InDI-enhanced | |
T0 | 4.1 | 5.1 |
T1 | 3.8 | 4.7 |
T2 | 3.6 | 4.4 |
For the uncharged initial state at T0 of the in situ experiment, the SiOx particles (dark grey) exhibit a relatively uniform grey level, indicative of the pristine state. As electrochemical charging progresses to the time-step of T1, notable morphological changes emerge. In the fully charged state at T2, the image reveals an increase of the particle size and the development of surface fractures, also accompanied by a decrease in CNR. Further distinct dark regions appear, likely indicating new dense phases formed during electrochemical charging.
Fig. 3B presents an exemplary intensity profile with an illustration of how to calculate spatial resolution, highlighting the enhanced image quality and sharper particle boundaries in the enhanced image. The InDI-enhanced image exhibits deeper trenches and more pronounced peaks, indicating sharper edges and enhanced contrast. Notably, the spatial resolution improves from 866 ± 183 nm in the original LQ image to 378 ± 81 nm in the InDI-enhanced in situ image when averaged over several particles. Exemplarily, a peak located at approximately 4500 nm, is only marginally visible in the original LQ image, while it stands out clearly in the InDI-enhanced image. Although this feature could be a consequence of hallucinations, we argue, as will be discussed in the Conclusion section, that the model has learned to capture the underlying physics and generate meaningful results. In fact, the spatial resolution achieved by InDI on image data from a different cell, never seen by the model during training, matches the resolution of the reference images used for training and validation, see Fig. 2. This also emphasises good generalizability of the model across similar image datasets.
As emphasized by the segmentation plot in Fig. 3B, the improvements achieved with InDI also enhance subsequent quantitative analyses, such as phase segmentation. The increased phase contrast and spatial resolution facilitate the training of machine learning-based segmentation models by making microstructural features more discernible, which might otherwise remain undetected in the original LQ data. This is particularly beneficial for automated, computer-based analysis workflows, where improved phase segmentation contributes to more reliable statistical assessments of key morphological metrics and interface characteristics, such as particle integrity, porosity, and phase connectivity. To illustrate this, we train two distinct machine learning-based segmentation models using a single image slice from both the LQ and InDI-enhanced datasets.
As shown in Fig. 3B, when HQ or InDI enhanced images are available, accurate segmentation can be achieved even with limited training data, significantly reducing the need for extensive manual labelling and computational effort.68 By reducing the dependence on large training datasets while maintaining high segmentation accuracy, this method enables more efficient and scalable image analysis. More details on the segmentation algorithm can be found in the Materials and methods. Further segmentation results, including difference maps, are displayed in Fig. S6.†
To address these challenges, we introduce a genAI-based image enhancement workflow utilizing the InDI algorithm. By applying InDI, we successfully enhance the contrast and spatial resolution of low-quality SXCT scans of silicon anodes across a temporal dataset, using only a single pair of low- and high-quality scans for model training. Generalization capabilities of the model are tested on a second unrelated in situ measurement utilizing another assembled cell, capturing the temporal behaviour of the lithiation process during electrochemical charging. The improvements achieved by the application of the InDI model in spatial resolution and contrast can facilitate the segmentation and analysis of particle morphology, cracking, porosity, and interphase development, which are key descriptors linked to the capacity fade and mechanical failure. These high-fidelity features serve as inputs for both physics-based degradation models and machine learning approaches, enhancing the accuracy of lifespan predictions. In this way, the enhanced data quality supports a more mechanistic and predictive understanding of aging in high-capacity anode materials by shedding light on the mechanical and electrochemical degradation mechanisms underlying capacity fade and lithiation properties.
For practical applications, we propose two primary strategies for obtaining suitable training data, each having its trade-offs in terms image acquisition time, beam-damage and generalization capabilities. In the single-sample approach, the high-quality scan is acquired either at the initial time step, before structural changes occur, or at the final time step, using the same sample as in the in situ experiment. In the identical-sample approach, which is used in this study, a separate but identical sample is scanned at higher voxel sizes, ensuring that the in situ experiment remains undisturbed. However, this assumes some microstructural similarity between the two samples. The single-sample approach offers direct correspondence between high- and low-voxel size datasets but risks introducing beam damage to the in situ sample. The identical-sample approach avoids beam damage but requires more time and resources and relies on structural similarity between the samples, which may not always hold. For cases involving significant microstructural evolution, such as large-volume expansion or severe particle degradation, an improved strategy would involve acquiring two high-quality scans – one at the beginning for the pristine state and another at the end of the experiment, e.g. for a state of charge (SoC) of 100%. Even though our model architecture has shown to handle these changes to some amount, additional measurements can increase the ability to generalize across varying stages of the battery cycling process. This could be achieved using the single-sample approach or by conducting a parallel in situ experiment on an identical sample with only two scans (at the beginning and end), minimizing overexposure of the actual in situ sample. Future studies could further explore this dual-scan strategy.
Despite the demonstrated efficiency and generalizability of our approach, certain limitations should be considered. The InDI model is case-specific and may require retraining when applied to datasets with significantly different microstructures, such as those from other electrode architectures or battery chemistries. These so-called out-of-domain errors can also be observed when training InDI on an underrepresented or too small subset of the whole cell. Fig. S4† exemplarily demonstrates the effects of training InDI on a non-representative fraction of the LQ image, only containing 1/64 of the total volume. As a result, the model’s ability to generalize to a larger, more heterogeneous area, which contain brightness and contrast variations, is limited. Nevertheless, out-of-domain errors are not specific to the InDI algorithm. Such errors are also observed for CNN- and GAN-based image enhancement models.62
Another concern in using highly generative machine-learning approaches for image enhancement is hallucinations. For example, while the additional peak in the InDI-enhanced image of Fig. 3B demonstrates a visual improvement, it also emphasizes the generative nature of InDI and its potential for unphysical hallucinations. Although such artefacts are an unavoidable aspect of generative image enhancement, they do not necessarily pose problems. The InDI architecture appears to generate visually realistic structures, which align with physical expectation in the tested cases, as evidenced by Fig. 2, where no unphysical artefacts are observed. While the possibility of unwanted image alterations in the in situ data of Fig. 3 cannot be entirely ruled out due to the absence of a HQ ground truth, the enhancements appear realistic, and any unphysical augmentations, if present, are minimal and likely negligible. This assumption is also underscored by the fact that InDI, in contrast to standard diffusion models, directly learns the physical degradation process from the real data, reducing its potential for hallucination.
In summary, the advancements presented in this study have a large potential for enhancing battery research and offer promising opportunities for other scientific and industrial disciplines that rely on high-resolution imaging of dynamic processes. For battery research, monitoring the evolution of electrode microstructures at the sub-micron scale during electrochemical charging is essential to derive deeper insights into the lithiation of the particles as well as underlying aging mechanisms. As illustrated, four-dimensional (4D) synchrotron X-ray nano-tomography (SXCT) allows the perception of such dynamic processes. The utilization of generative artificial intelligence (genAI) facilitates solving the dilemma between resolution and field-of-view. The InDI algorithm allows not only a larger FOV but also higher spatial resolution and promotes subsequent image classification with higher accuracy as well as improved statistical analysis. Extracted microstructure features as well as classified volume data foster physics-based battery model parametrization. Furthermore, the approach reduces invasive beam exposure by excluding the need to focus on small volumes, which is highly advantageous for beam sensitive materials such as those utilized in the battery.
The integration of machine learning-driven enhancement techniques, like InDI, into the routine of in situ characterization workflows could substantially accelerate not only battery innovation but also progress in other fields such as biomedical imaging,69 high-temperature electrochemistry70 or semiconductor manufacturing.71 These applications similarly demand high spatial resolution and wide field-of-view while minimizing sample perturbation. Altogether, this makes InDI a versatile and scalable tool for applications across a wide spectrum of image-driven field.
The in situ cell housing was constructed from a perfluoroalkoxy alkane tubing (inner diameter: 1.6 mm; outer diameter: 3.2 mm), which is transparent to X-rays and sealed with threaded steel mounts screwed into the polymer tubing. A spring contact within the upper steel mount was then adjusted to apply a specified external pressure (∼0.5 MPa) on the cell. To prevent air penetration, the contact interface between the polymer and steel was further sealed with lacquer. Cell assembly was conducted entirely in an argon-filled glove box to maintain an inert environment.
The in situ electrochemical cell was charged at a rate of C/3 using an OrigaFlex OGF500 potentiostat synchronized with the holo-tomography acquisition software.61 In collaboration with ESRF, a workflow was developed to integrate electrochemical control with holo-tomography imaging, ensuring synchronized measurements through automated scripts that coordinate charging parameters and acquisition timing. Holo-tomography acquisitions were performed every 40 minutes during a single charging cycle. To reduce mechanical and thermal relaxation artefacts in the reconstructed images, the charging program was paused 1 minute before each acquisition, setting the cell to open-circuit potential (OCP). Once the holo-tomography acquisition was completed, charging resumed (see the ESI†).
We employed a U-Net-like75 model architecture with skip connections and dilated convolutions in the bottleneck layer. Throughout the model, we applied Swish activation to the dying neuron problem, except in the final layer, where a tanh activation function was applied. Instead of using multiple down-sampling blocks, as is common in U-Nets, our model employed a combination of non-dilated and dilated convolutions in the bottleneck layer. This enabled us to capture both fine and coarse features. The last up-sampling layer in our architecture was set to a sub-pixel convolution to retain fine details. All convolutional kernels were 3 × 3, except for the first and last layers, which used 7 × 7 kernels. As is typical in U-Nets, we started with a small number of convolutional filters, 64 in our case, in the first block and doubled the number of filters after every down-sampling block. Time embedding was implemented through a sin/cos positional embedding of the timestep. This embedding was transformed by a dense layer and added to the convolutional input in the residual layer. All training and pre-processing were done on python TensorFlow 2.10 (ref. 76) on a NVIDIA RTX A5000 GPU with 24 Gb V-RAM and Intel Xeon w5-3433 CPU with 512 Gb RAM.
For calculating CNR values, semantic segmentation of particles and background was carried out. The particles were considered as foreground pixels which have to be distinguished from the background, and CNR was calculated between these two domains. Note that CNR is noticeably affected by ring artefacts, noise and also particle growth during electrochemical loading.
Footnotes |
† Electronic supplementary information (ESI) available. See DOI: https://doi.org/10.1039/d5ta03471j |
‡ These authors contributed equally to this work. |
This journal is © The Royal Society of Chemistry 2025 |