Affine Transformation ( IAAffinTransformation )
Parameters:
Name |
Short Name |
Type |
Description |
a [0,0] (x magnification) |
a |
real |
Transformation matrix coefficient |
b [0,1] (y->x) |
b |
real |
Transformation matrix coefficient |
c [1,0] (x->y) |
c |
real |
Transformation matrix coefficient |
d [1,1] (y magnification) |
d |
real |
Transformation matrix coefficient |
e x offset |
e |
real |
Offset coefficient |
f y offset |
f |
real |
Offset coefficient |
Keep image centered |
center |
boolean |
Overrides parameters e and f in order to keep the result image in the center. |
Interpolation type |
interpolationtype |
string |
Interpolation used for the transformation. Affects the smoothness of the result. |
Transform ROIs |
transformROIs |
boolean |
ROIs will follow image transformation. ROIs moving outside of the image area will be deleted. |
Description:
Affine transformation positions each x pixel to the xnew position. Note that the origin is in the lower left corner for this transformation.
xnew={{a,b},{c,d}}*x+{{d},{e}}. See typical transformation matrix definitions at http://en.wikipedia.org/wiki/Affine_transformation
Use "Keep image centered" to position the result into the visible area of the image. With this enabled, parameters e and f are not used. Background area not covered with image will be MASKed. Be mindful of this mask if using non mask-compatible functions such as 2D DFT, image registration and template matching. Use fill mask with zeros for such functions.
Interpolation type: Use Nearest Neighbor interpolation with masks or when "...pixels below percentile of max projection" type background subtraction is used after this transformation. Smooth interpolation types may introduce noise into histogram-based functions.
Use the Edit/Manual Channel Alignment to load this function with coefficients. Use this function to redo previously manually performed channel alignmnet.
Mathematica usage:
{{a,b},{c,d}}*x+{{d},{e}}