A method of trueEbsd.
the distortion between every consecutive pair of maps of the job fitted; MATLAB’s calcDistortion of trueEbsd
Syntax
job.calcDistortion()
Every hop fitted.
job.calcDistortion(fitErr=True)
And what each hop leaves over measured.
job.calcDistortion(fitErr=True, verbose=False, retryMax=1)
Silent, one pass per hop.
Description
job.T[n] is the unfitted spatialTransform between map n and map n + 1. For every pair the images are cut into tiles, the tiles cross correlated for a local shift each, and the stages of the transform fitted one after another to those shifts, each to what the one before left over. The shifts land in job.shifts[n], and job.T[n] is replaced by the fitted transform, still of its declared class. The job is changed in place; run pixelSizeMatch first.
The pairs are visited from the first map of high contrast forward to the reference, then backward from it to map 0, so that one map of every pair has usable contrast; where the other has none, its partner’s image carried into its frame is what the next hop correlates.
fitErr measures the displacement left after each hop, job.fitError[n], the number that says whether the registration worked; it costs one more correlation per hop. With it a hop that leaves more than 2 pixels is redone with the tiles doubled, until it converges, the tiles no longer fit the image or retryMax attempts are made.
Input
job |
trueEbsd after pixelSizeMatch |
Keywords
| keyword | default | description |
|---|---|---|
fitErr |
False |
measure what is left after each hop and retry the hops that leave too much |
verbose |
True |
print the table of the hops, MATLAB’s silent the opposite |
retryMax |
100 |
the most correlation attempts per hop, the first included |
See also
trueEbsd.pixelSizeMatch, trueEbsd.undistort, spatialTransform, xcfShift, pairShifts, EBSDTrueEbsd
Used on
MATLAB’s trueEbsd.calcDistortion
source
Citing this page.
This page is part of the documentation of
MTEX, a free and open
source MATLAB toolbox for analyzing and modeling crystallographic textures.
It was written by The MTEX Developers and is published at
https://mtex-toolbox.github.io/trueEbsd.calcDistortion_py.html.
If you use MTEX, or reuse text or figures from this page, in your research,
please cite
F. Bachmann, R. Hielscher, H. Schaeben: Texture Analysis with MTEX - Free and Open Source Software Toolbox, Solid State Phenomena 160 (2010), 63-68. 10.4028/www.scientific.net/SSP.160.63
BibTeX
@article{bachmann2010mtex,
author = {F. Bachmann and R. Hielscher and H. Schaeben},
title = {Texture Analysis with MTEX - Free and Open Source Software Toolbox},
journal = {Solid State Phenomena},
volume = {160},
pages = {63-68},
year = {2010},
doi = {10.4028/www.scientific.net/SSP.160.63},
url = {https://doi.org/10.4028/www.scientific.net/SSP.160.63}
}
Other papers describing specific MTEX methods are listed under Publications — please cite the one that best fits your application. The MTEX source code is licensed under the GNU General Public License v2.0; the text and figures of this documentation are licensed under CC BY 4.0, which permits reuse — including by automated systems — provided The MTEX Developers and this page are credited.