

{"id":27165,"date":"2026-11-27T10:04:36","date_gmt":"2026-11-27T09:04:36","guid":{"rendered":"https:\/\/is.ijs.si\/?p=27165"},"modified":"2026-11-27T10:04:36","modified_gmt":"2026-11-27T09:04:36","slug":"machine-learning-assisted-grain-segmentation-on-scanning-electron-microscopy-images-of-high-entropy-alloys","status":"publish","type":"post","link":"https:\/\/is.ijs.si\/?p=27165","title":{"rendered":"Machine Learning-Assisted Grain Segmentation on Scanning Electron Microscopy Images of High-Entropy Alloys"},"content":{"rendered":"<p><strong>Matija Budja, Anton Gradi\u0161ek, Andreja Jelen<\/strong><\/p>\n<p>Matija Budja: Faculty of Mathematics and Physics, University of Ljubljana, Ljubljana, Slovenia \u00b7 Anton Gradi\u0161ek: Jo\u017eef Stefan Institute, Ljubljana, Slovenia \u00b7 Andreja Jelen: Jo\u017eef Stefan Institute, Ljubljana, Slovenia<\/p>\n<p>The microstructure of a material holds the key to understanding its properties, performance and failure. Among the many parameters defining this microstructure, grains play a fundamental role. While grains can be characterized using various microscopic techniques\u2014each requiring specific sample preparation\u2014scanning electron microscopy (SEM) utilizing backscattered electron (BSE) imaging offers a significant advantage as BSE imaging completely eliminates the need for chemical etching of the sample. However, identifying individual grains on SEM-BSE images of unconventional metallic alloys, such as high-entropy alloys (HEAs), remains a major challenge. Due to their complex and peculiar microstructure, grains cannot be intuitively distinguished, rendering the microscope\u2019s standard built-in software insufficient for accurate analysis. Therefore, we fine-tuned and evaluated three pre-trained machine learning models (ResNet-UNet, MiT-UNet, and DINOv2 with a linear segmentation head) on an augmented dataset of manually annotated grain boundary images. To further improve boundary detection, we applied watershed segmentation as post-processing to model inferences. After testing, the best model was MiT-UNet trained with a combined Dice and Focal loss, yielding a final mean Intersection over Union (mIoU ) of 50.9% and a grain boundary Intersection over Union of 20.7%. The results at this point are moderately useful for further analysis, however, we identified types of images where additional training will be required to improve performance.<\/p>\n<p>Pages: 68\u201372<\/p>\n<p>DOI: <a href=\"https:\/\/doi.org\/10.70314\/is.2026.skui.81\">10.70314\/is.2026.skui.81<\/a><\/p>\n<p><a href=\"https:\/\/is.ijs.si\/wp-content\/uploads\/is-proceedings\/2026\/10.70314-is.2026.skui_.81.pdf\">Download PDF<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Matija Budja, Anton Gradi\u0161ek, Andreja Jelen Matija Budja: Faculty of Mathematics and Physics, University of Ljubljana, Ljubljana, Slovenia \u00b7 Anton Gradi\u0161ek: Jo\u017eef Stefan Institute, Ljubljana, Slovenia \u00b7 Andreja Jelen: Jo\u017eef Stefan Institute, Ljubljana, Slovenia The microstructure of a material holds the key to understanding its properties, performance and failure. Among the many parameters defining this microstructure, grains play a fundamental role. While grains can be characterized using various microscopic techniques\u2014each requiring specific sample preparation\u2014scanning electron microscopy (SEM) utilizing backscattered electron (BSE) imaging offers a significant advantage as BSE imaging completely eliminates the need for chemical etching of the sample. However, identifying individual grains on SEM-BSE images of unconventional metallic alloys, such as high-entropy alloys (HEAs), remains a major challenge. Due to their complex and peculiar microstructure, grains cannot be intuitively distinguished, rendering the microscope\u2019s standard built-in software insufficient for accurate analysis. Therefore, we fine-tuned and evaluated three pre-trained machine learning models (ResNet-UNet, MiT-UNet, and DINOv2 with a linear segmentation head) on an augmented dataset of manually annotated grain boundary images. To further improve boundary detection, we applied watershed segmentation as post-processing to model inferences. After testing, the best model was MiT-UNet trained with a combined Dice and Focal loss, yielding a final mean Intersection over Union (mIoU ) of 50.9% and a grain boundary Intersection over Union of 20.7%. The results at this point are moderately useful for further analysis, however, we identified types of images where additional training will be required to improve performance. Pages: 68\u201372 DOI: 10.70314\/is.2026.skui.81 Download PDF<\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[140,102],"tags":[],"class_list":["post-27165","post","type-post","status-publish","format-standard","hentry","category-doiskui2026","category-papers"],"_links":{"self":[{"href":"https:\/\/is.ijs.si\/index.php?rest_route=\/wp\/v2\/posts\/27165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/is.ijs.si\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/is.ijs.si\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/is.ijs.si\/index.php?rest_route=\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/is.ijs.si\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27165"}],"version-history":[{"count":1,"href":"https:\/\/is.ijs.si\/index.php?rest_route=\/wp\/v2\/posts\/27165\/revisions"}],"predecessor-version":[{"id":27166,"href":"https:\/\/is.ijs.si\/index.php?rest_route=\/wp\/v2\/posts\/27165\/revisions\/27166"}],"wp:attachment":[{"href":"https:\/\/is.ijs.si\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/is.ijs.si\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=27165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/is.ijs.si\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=27165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}