a transformation of scan positions in the xy plane
Syntax
pos2 = T * pos
pos2 = T(pos)
u = T.displacement(pos)
Ti = T.inv()
Description
Transforms map vector3d positions to positions of the same shape. The supplied transform classes change x and y and preserve z and the coordinate frame. Positions and displacements use the same spatial units as the input data.
Composition follows matrix order: T1 * T2 applies T2 first, then T1. The expression
T1 + T2 builds a sequence applying T1 first, then T2. Transforming EBSD data with
transform(ebsd, T) also updates its spatial representation.
This is the base class. Construct one of the affine, projective, polynomial, drift or interpolated-field subclasses, or wrap a callable with spatialTransformHandle.
See also
spatialTransformShift, spatialTransformProjective, spatialTransformPoly, spatialTransformDrift, spatialTransformField, spatialTransformComposite
Members
| absorb | one matrix for two transforms that each have one: affine where the product keeps the last row, projective otherwise |
| char | the name and the parameters of the transform as one line of text |
| discretize | the transform as a field of displacements at the given points |
| displacement | the displacement of the positions, T * pos - pos |
| eval | the positions moved by the transform, T * pos |
| fitOptions | the keywords a refit of this transform takes to keep its kind, as a dict |
| inv | the inverse transform |
| isid | whether the transform is the identity |
| matrix | the 3 x 3 homogeneous matrix of the transform, None where it has none |
| norm | the length of the displacement at every position |
| paramChar | the parameters of the transform as a line of text for its display |
| shortChar | the short name of the transform in its display, the class name without spatialTransform |
| stageList | the stages the transform is applied in, a list |
MATLAB’s spatialTransform_index
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/spatialTransform_index_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.