{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,14]],"date-time":"2026-10-14T08:11:06Z","timestamp":1791965466748,"version":"4.3.4"},"reference-count":55,"publisher":"MDPI AG","issue":"6","license":[{"start":{"date-parts":[[2023,5,31]],"date-time":"2023-05-31T00:00:00Z","timestamp":1685491200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000015","name":"US Department of Energy (DOE) Office of Science Advanced Scientific Computing Research (ASCR) and Basic Energy Sciences (BES)","doi-asserted-by":"publisher","award":["DE-AC02-05CH11231"],"award-info":[{"award-number":["DE-AC02-05CH11231"]}],"id":[{"id":"10.13039\/100000015","id-type":"DOI","asserted-by":"publisher"}]},{"name":"DOE ASCR-funded project Analysis and Machine Learning Across Domains (AMLXD)","award":["DE-AC02-05CH11231"],"award-info":[{"award-number":["DE-AC02-05CH11231"]}]},{"name":"LBNL Bridges Fellowship 2021","award":["DE-AC02-05CH11231"],"award-info":[{"award-number":["DE-AC02-05CH11231"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["J. Imaging"],"abstract":"<jats:p>Lithium metal battery (LMB) has the potential to be the next-generation battery system because of its high theoretical energy density. However, defects known as dendrites are formed by heterogeneous lithium (Li) plating, which hinders the development and utilization of LMBs. Non-destructive techniques to observe the dendrite morphology often use X-ray computed tomography (XCT) to provide cross-sectional views. To retrieve three-dimensional structures inside a battery, image segmentation becomes essential to quantitatively analyze XCT images. This work proposes a new semantic segmentation approach using a transformer-based neural network called TransforCNN that is capable of segmenting out dendrites from XCT data. In addition, we compare the performance of the proposed TransforCNN with three other algorithms, U-Net, Y-Net, and E-Net, consisting of an ensemble network model for XCT analysis. Our results show the advantages of using TransforCNN when evaluating over-segmentation metrics, such as mean intersection over union (mIoU) and mean Dice similarity coefficient (mDSC), as well as through several qualitatively comparative visualizations.<\/jats:p>","DOI":"10.3390\/jimaging9060111","type":"journal-article","created":{"date-parts":[[2023,5,31]],"date-time":"2023-05-31T02:27:30Z","timestamp":1685500050000},"page":"111","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":7,"title":["Lithium Metal Battery Quality Control via Transformer\u2013CNN Segmentation"],"prefix":"10.3390","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-7126-5853","authenticated-orcid":false,"given":"Jerome","family":"Quenum","sequence":"first","affiliation":[{"name":"Department of Electrical Engineering and Computer Science, Berkeley College of Engineering, University of California, Berkeley, CA 94720, USA"},{"name":"Applied Mathematics and Computational Research Division, Lawrence Berkeley National Laboratory, Berkeley, CA 94720, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1612-0475","authenticated-orcid":false,"given":"Iryna V.","family":"Zenyuk","sequence":"additional","affiliation":[{"name":"Department of Chemical & Biomolecular Engineering, National Fuel Cell Research Center, University of California Irvine, Irvine, CA 92697, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7363-9468","authenticated-orcid":false,"given":"Daniela","family":"Ushizima","sequence":"additional","affiliation":[{"name":"Applied Mathematics and Computational Research Division, Lawrence Berkeley National Laboratory, Berkeley, CA 94720, USA"},{"name":"Berkeley Institute for Data Science, University of California Berkeley, Berkeley, CA 94720, USA"},{"name":"Bakar Computational Health Sciences Institute, University of California San Francisco, San Francisco, CA 94143, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2023,5,31]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"78","DOI":"10.1016\/j.coelec.2018.10.016","article-title":"Bridging X-ray computed tomography and computational modeling for electrochemical energy-conversion and -storage","volume":"13","author":"Zenyuk","year":"2019","journal-title":"Curr. Opin. Electrochem."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"27006","DOI":"10.1021\/acsami.1c04582","article-title":"Evolution of Protrusions on Lithium Metal Anodes Stabilized by a Solid Block Copolymer Electrolyte Studied Using Time-Resolved X-ray Tomography","volume":"13","author":"Veeraraghavan","year":"2021","journal-title":"ACS Appl. Mater. Interfaces"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"A2699","DOI":"10.1149\/2.0321514jes","article-title":"Electrochemical deposition and stripping behavior of lithium metal across a rigid block copolymer electrolyte membrane","volume":"162","author":"Harry","year":"2015","journal-title":"J. Electrochem. Soc."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"9645","DOI":"10.1021\/acsaem.0c01175","article-title":"Uncovering the Relationship between Diameter and Height of Electrodeposited Lithium Protrusions in a Rigid Electrolyte","volume":"3","author":"Ho","year":"2020","journal-title":"ACS Appl. Energy Mater."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"503","DOI":"10.1038\/s41563-020-00903-2","article-title":"Linking void and interphase evolution to electrochemistry in solid-state batteries using operando X-ray tomography","volume":"20","author":"Lewis","year":"2021","journal-title":"Nat. Mater."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"10480","DOI":"10.1021\/acsnano.1c02942","article-title":"3D Detection of Lithiation and Lithium Plating in Graphite Anodes during Fast Charging","volume":"45","author":"Ho","year":"2021","journal-title":"ACS Nano"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"32","DOI":"10.1038\/s41597-022-01119-6","article-title":"A reusable neural network pipeline for unidirectional fiber segmentation","volume":"9","author":"Ushizima","year":"2022","journal-title":"Sci. Data"},{"key":"ref_8","unstructured":"Ramalho, G.L.B., Ferreira, D.S., Bianchi, A.G.C., Carneiro, C.M., Medeiros, F.N.S., and Ushizima, D.M. (2015, January 16\u201319). Cell reconstruction under Voronoi and enclosing ellipses from 3D microscopy. Proceedings of the IEEE International Symposium on Biomedical Imaging (ISBI), Brooklyn, NY, USA."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Long, J., Shelhamer, E., and Darrell, T. (2015, January 7\u201312). Fully convolutional networks for semantic segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA.","DOI":"10.1109\/CVPR.2015.7298965"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Ronneberger, O., Fischer, P., and Brox, T. (2015). U-Net: Convolutional Networks for Biomedical Image Segmentation. arXiv.","DOI":"10.1007\/978-3-319-24574-4_28"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"2481","DOI":"10.1109\/TPAMI.2016.2644615","article-title":"SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation","volume":"39","author":"Badrinarayanan","year":"2017","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Chen, L.C., Zhu, Y., Papandreou, G., Schroff, F., and Adam, H. (2018, January 8\u201314). Encoder-decoder with atrous separable convolution for semantic image segmentation. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.","DOI":"10.1007\/978-3-030-01234-2_49"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Yang, M., Yu, K., Zhang, C., Li, Z., and Yang, K. (2018, January 18\u201323). DenseASPP for Semantic Segmentation in Street Scenes. Proceedings of the 2018 IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.","DOI":"10.1109\/CVPR.2018.00388"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Zhao, H., Shi, J., Qi, X., Wang, X., and Jia, J. (2017, January 21\u201326). Pyramid scene parsing network. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.","DOI":"10.1109\/CVPR.2017.660"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Quenum, J., Wang, K., and Zakhor, A. (2021, January 19\u201322). Fast, Accurate Barcode Detection in Ultra High-Resolution Images. Proceedings of the 2021 IEEE International Conference on Image Processing (ICIP), Anchorage, AL, USA.","DOI":"10.1109\/ICIP42928.2021.9506134"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"He, K., Zhang, X., Ren, S., and Sun, J. (2015). Deep residual learning. Image Recognit., 7.","DOI":"10.1109\/CVPR.2016.90"},{"key":"ref_17","unstructured":"Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2021, January 3\u20135). An Image is Worth 16 \u00d7 16 Words: Transformers for Image Recognition at Scale. Proceedings of the International Conference on Learning Representations (ICLR), Virtual."},{"key":"ref_18","unstructured":"Hassani, A., Walton, S., Li, J., Li, S., and Shi, H. (2022). Neighborhood attention transformer. arXiv."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., Lin, S., and Guo, B. (2021, January 11\u201317). Swin transformer: Hierarchical vision transformer using shifted windows. Proceedings of the IEEE\/CVF International Conference on Computer Vision, Montreal, BC, Canada.","DOI":"10.1109\/ICCV48922.2021.00986"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Zheng, S., Lu, J., Zhao, H., Zhu, X., Luo, Z., Wang, Y., Fu, Y., Feng, J., Xiang, T., and Torr, P.H. (2021, January 19\u201325). Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Virtual.","DOI":"10.1109\/CVPR46437.2021.00681"},{"key":"ref_21","first-page":"12077","article-title":"SegFormer: Simple and efficient design for semantic segmentation with transformers","volume":"34","author":"Xie","year":"2021","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_22","unstructured":"Gao, Y., Zhou, M., and Metaxas, D.N. (2021). Proceedings of the Medical Image Computing and Computer Assisted Intervention\u2014MICCAI 2021: 24th International Conference, Strasbourg, France, September 27\u2013October 1, 2021, Proceedings, Part III 24, Springer."},{"key":"ref_23","first-page":"616","article-title":"SwinE-Net: Hybrid deep learning approach to novel polyp segmentation using convolutional neural network and Swin Transformer","volume":"9","author":"Park","year":"2022","journal-title":"J. Comput. Des. Eng."},{"key":"ref_24","unstructured":"Yuan, Y., Chen, X., and Wang, J. (2020). Proceedings of the Computer Vision\u2013ECCV 2020: 16th European Conference, Glasgow, UK, 23\u201328 August 2020, Proceedings, Part VI 16, Springer."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"852","DOI":"10.1021\/acsaem.1c03288","article-title":"Effect of Yield Stress on Stability of Block Copolymer Electrolytes against Lithium Metal Electrodes","volume":"5","author":"Chakraborty","year":"2022","journal-title":"ACS Appl. Energy Mater."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"A1377","DOI":"10.1149\/1.1606686","article-title":"Dendrite growth in lithium\/polymer systems: A propagation model for liquid electrolytes under galvanostatic conditions","volume":"150","author":"Monroe","year":"2003","journal-title":"J. Electrochem. Soc."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"A880","DOI":"10.1149\/1.1710893","article-title":"The effect of interfacial deformation on electrodeposition kinetics","volume":"151","author":"Monroe","year":"2004","journal-title":"J. Electrochem. Soc."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"38151","DOI":"10.1021\/acsami.8b17223","article-title":"Grain boundary softening: A potential mechanism for lithium metal penetration through stiff solid electrolytes","volume":"10","author":"Yu","year":"2018","journal-title":"ACS Appl. Mater. Interfaces"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Badran, A., Parkinson, D., Ushizima, D., Marshall, D., and Maillet, E. (2022). Validation of Deep Learning Segmentation of CT Images of Fiber-Reinforced Composites. J. Compos. Sci., 6.","DOI":"10.3390\/jcs6020060"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"16075","DOI":"10.1038\/s41598-021-95561-y","article-title":"Validating deep learning inference during chest X-ray classification for COVID-19 screening","volume":"11","author":"Sadre","year":"2021","journal-title":"Sci. Rep."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"118790","DOI":"10.1016\/j.neuroimage.2021.118790","article-title":"Deep learning for Alzheimer\u2019s disease: Mapping large-scale histological tau protein for neuroimaging biomarker validation","volume":"248","author":"Ushizima","year":"2022","journal-title":"NeuroImage"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"100048","DOI":"10.1016\/j.powera.2021.100048","article-title":"Three-dimensional structural measurement and material identification of an all-solid-state lithium-ion battery by X-Ray nanotomography and deep learning","volume":"8","author":"Kodama","year":"2021","journal-title":"J. Power Sources Adv."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"6205","DOI":"10.1038\/s41467-021-26480-9","article-title":"Deep learning-based segmentation of lithium-ion battery microstructures enhanced by artificially generated electrodes","volume":"12","author":"Sauter","year":"2021","journal-title":"Nat. Commun."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"194","DOI":"10.1038\/s41524-022-00870-z","article-title":"Self-supervised image quality assessment for X-ray tomographic images of Li-ion battery","volume":"8","author":"Zhang","year":"2022","journal-title":"Npj Comput. Mater."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"30","DOI":"10.1038\/s41524-022-00709-7","article-title":"Artificial neural network approach for multiphase segmentation of battery electrode nano-CT images","volume":"8","author":"Su","year":"2022","journal-title":"Npj Comput. Mater."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"790","DOI":"10.1021\/acscentsci.6b00260","article-title":"Dendrites and Pits: Untangling the Complex Behavior of Lithium Metal Anodes through Operando Video Microscopy","volume":"2","author":"Wood","year":"2016","journal-title":"ACS Cent. Sci."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"57","DOI":"10.1016\/j.matt.2020.03.015","article-title":"Lithium Dendrite in All-Solid-State Batteries: Growth Mechanisms, Suppression Strategies, and Characterizations","volume":"3","author":"Cao","year":"2020","journal-title":"Matter"},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"2003836","DOI":"10.1002\/aenm.202003836","article-title":"Single-Ion Conducting Polymer Electrolytes for Solid-State Lithium\u2013Metal Batteries: Design, Performance, and Challenges","volume":"11","author":"Zhu","year":"2021","journal-title":"Adv. Energy Mater."},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"2002387","DOI":"10.1002\/aenm.202002387","article-title":"A Solid-State Battery Cathode with a Polymer Composite Electrolyte and Low Tortuosity Microstructure by Directional Freezing and Polymerization","volume":"11","author":"Huang","year":"2021","journal-title":"Adv. Energy Mater."},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"305","DOI":"10.1557\/adv.2020.131","article-title":"Materials Data Science for Microstructural Characterization of Archaeological Concrete","volume":"5","author":"Ushizima","year":"2020","journal-title":"MRS Adv."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"922","DOI":"10.1021\/acsenergylett.9b02668","article-title":"Challenges in Lithium Metal Anodes for Solid-State Batteries","volume":"5","author":"Hatzell","year":"2020","journal-title":"ACS Energy Lett."},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Ji, Y., Li, J., and Li, J. (2022). Recent Development of Electrolyte Engineering for Sodium Metal Batteries. Batteries, 8.","DOI":"10.3390\/batteries8100157"},{"key":"ref_43","doi-asserted-by":"crossref","first-page":"617","DOI":"10.1016\/j.jpowsour.2015.08.041","article-title":"Flow simulation and analysis of high-power flow batteries","volume":"299","author":"Knudsen","year":"2015","journal-title":"J. Power Sources"},{"key":"ref_44","doi-asserted-by":"crossref","first-page":"15288","DOI":"10.1021\/jacs.7b06437","article-title":"Interfacial chemistry regulation via a skin-grafting strategy enables high-performance lithium-metal batteries","volume":"139","author":"Gao","year":"2017","journal-title":"J. Am. Chem. Soc."},{"key":"ref_45","doi-asserted-by":"crossref","first-page":"9385","DOI":"10.1021\/jacs.6b05341","article-title":"Plating a dendrite-free lithium anode with a polymer\/ceramic\/polymer sandwich electrolyte","volume":"138","author":"Zhou","year":"2016","journal-title":"J. Am. Chem. Soc."},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"204","DOI":"10.1016\/j.ensm.2018.11.011","article-title":"Development of an all-solid-state lithium battery by slurry-coating procedures using a sulfidic electrolyte","volume":"17","author":"Ates","year":"2019","journal-title":"Energy Storage Mater."},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"F1254","DOI":"10.1149\/2.0751412jes","article-title":"A Critical Review of Modeling Transport Phenomena in Polymer-Electrolyte Fuel Cells","volume":"161","author":"Weber","year":"2014","journal-title":"J. Electrochem. Soc."},{"key":"ref_48","doi-asserted-by":"crossref","first-page":"1188","DOI":"10.1107\/S1600577514013939","article-title":"TomoPy: A framework for the analysis of synchrotron tomographic data","volume":"21","author":"Xiao","year":"2014","journal-title":"J. Synchrotron Radiat."},{"key":"ref_49","doi-asserted-by":"crossref","first-page":"842","DOI":"10.1107\/S1600577516005658","article-title":"Integration of TomoPy and the ASTRA toolbox for advanced processing and reconstruction of tomographic synchrotron data","volume":"23","author":"Pelt","year":"2016","journal-title":"J. Synchrotron Radiat."},{"key":"ref_50","doi-asserted-by":"crossref","first-page":"1224","DOI":"10.1107\/S160057751401604X","article-title":"Scientific data exchange: A schema for HDF5-based storage of raw and analyzed data","volume":"21","author":"Marone","year":"2014","journal-title":"J. Synchrotron Radiat."},{"key":"ref_51","unstructured":"Brown, M., Szeliski, R., and Winder, S. (2005, January 20\u201325). Multi-image matching using multi-scale oriented patches. Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR\u201905), IEEE, San Diego, CA, USA."},{"key":"ref_52","doi-asserted-by":"crossref","unstructured":"Lowe, D.G. (1999, January 20\u201327). Object recognition from local scale-invariant features. Proceedings of the Seventh IEEE International Conference on Computer Vision, Corfu, Greece.","DOI":"10.1109\/ICCV.1999.790410"},{"key":"ref_53","unstructured":"Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., and Polosukhin, I. (2017). Attention Is All You Need. arXiv."},{"key":"ref_54","doi-asserted-by":"crossref","unstructured":"Salehi, S.S.M., Erdogmus, D., and Gholipour, A. (2017). Tversky loss function for image segmentation using 3D fully convolutional deep networks. arXiv.","DOI":"10.1007\/978-3-319-67389-9_44"},{"key":"ref_55","doi-asserted-by":"crossref","unstructured":"Abraham, N., and Khan, N.M. (2018). A Novel Focal Tversky loss function with improved Attention U-Net for lesion segmentation. arXiv.","DOI":"10.1109\/ISBI.2019.8759329"}],"container-title":["Journal of Imaging"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2313-433X\/9\/6\/111\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T19:45:50Z","timestamp":1760125550000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2313-433X\/9\/6\/111"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,5,31]]},"references-count":55,"journal-issue":{"issue":"6","published-online":{"date-parts":[[2023,6]]}},"alternative-id":["jimaging9060111"],"URL":"https:\/\/doi.org\/10.3390\/jimaging9060111","relation":{},"ISSN":["2313-433X"],"issn-type":[{"value":"2313-433X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,5,31]]}}}