Repository navigation
Home
Vivian edited this page May 6, 2026
·
6 revisions
page under construction
Welcome to the mtex-trueEbsd wiki!
TrueEBSD is an MTEX add-on for spatial alignment and distortion correction of EBSD maps and/or images.
- you have a set of images and/or data maps of the same physical features, and you want to align them pixel-wise
- you expect a specific distortion to have a certain shape, and you want the fit to be physically realistic
- you have a large amount of data to align, where manual selection of control point pairs would be extremely time-consuming
- you need to align data maps (e.g. EDS or EBSD data) as well as images
- you have compounding distortion types in your images (e.g. drift + tilt distortions in an EBSD map)
- you want to analyse your data in MTEX after processing with TrueEBSD
- Combining an SEM-SE image with EBSD to automate crystallographic slip plane indexing from surface traces [link]
- Combining an SEM-BSE image with EBSD to determine preferred grain boundary void distributions in a copper polycrystal [link]
- Combining SEM-BSE images with EBSD to improve phase segmentation and boundary analysis in WC-Co [link]
- Correcting EBSD map tilt and drift distortions (relative to a flat SEM image) to combine multiple EBSD maps along a 2mm-long crack in WC-Co, and determine the preferred fatigue crack growth planes [link]
- Combining three EBSD maps acquired from different EBSD systems, to measure the absolute orientation uncertainty in EBSD. [link]
- Correcting EBSD map tilt and drift distortions relative to a flat SEM image, to enable seamless stitching of large-area tiled EBSD maps [link]
- Combining polarised light optical micrographs with EBSD to determine preferred grain and grain boundary locations for Zr hydride growth in Zircaloy-4 [link]
- Combining two EBSD maps, before and after SEM in-situ tensile testing, to determine slip activity from grain reorientation axes in an in-situ deformed Zr polycrystal [link]
- your images have flat contrast or only very sparse features, e.g. you are imaging a single crystal with minimal topography
- your images do not contain any recognisable shared features, e.g. if one of your images is a SEM image of a polycrystal with grain orientation contrast, and the other is an indentation hardness map with step size larger than the average grain size
- your images are not of the same physical surface, e.g. serial sections of an image volume**
- the distortion field in your image is not well-described with a mathematical distortion model, e.g. projective tilt distortions of a rough surface**
- the distortion field in your image is discontinuous, e.g. 'jumps' in an EBSD map due to electron beam charge/discharge artefacts**
**TrueEBSD could be still worth a try, and some of these are in the development pipeline. Contact me for further support!
- interpolate or modify values of non-image data (such as EBSD orientation or EDS element maps)
- run on older MTEX versions < 6
To start using TrueEBSD, you will need:
- A distorted image, e.g. an EBSD map
- A reference ground truth image, e.g. a SEM image
- Knowledge of the distortion types between image pairs, e.g. drift (aka rolling-shutter distortion), affine, projective
- [optional] Intermediate image(s), which may be used to separate out compound distortions into individual types.
By default, cross-correlation of the images' edge transforms are used to compute local shifts in each part of the image, which are fitted to the specified distortion model.
- MTEX 6.1+
- 64-bit Windows or Linux [or Parallel Computing Toolbox]
- MATLAB 2024a+
- Ghostscript (free software for PDF export https://ghostscript.com/)
- MATLAB toolboxes:
- Curve Fitting Toolbox
- Image Processing Toolbox
- Statistics and Machine Learning Toolbox
- The GUI is not compatible with the MATLAB extension for Visual Studio Code. The
dataLoaderWizardscript freezes and throw an error related touifigure. (Thanks to John Thomas Matthews, K-AI)
- Original code and example data bundle (Ti-64, deformed Zr, Zr hydrides): https://zenodo.org/record/4282885
- Grain boundary voids in copper (from M Grabner, TU Graz; M Petersmann, KAI): https://zenodo.org/records/16902083
- WC grain contiguity in WC-Co (with S Olovsjö and R M'Saoubi, Seco Tools): https://zenodo.org/records/13870131
- Original method is described in V Tong & TB Britton, Ultramicrosc., 2021 (https://arxiv.org/abs/1909.00347), now reimplemented using MTEX classes.
- Ppt link 2024 MTEX
- Ppt link 2024 ICOTOM
- Ppt link 2026 MTEX
- Quick start videos (presented at MTEX Workshop 2026): https://www.youtube.com/playlist?list=PLiiRPlH9wzSSIL8uIQuALWVgNIfvKzgmt