Given a set of Control points and their subsequent Observed points, the corresponding Affine Transform is generated. Once the MathTransformIsSolved, other points can be sent through, via Transform, and will be modified as follows:
x_out, y_out : output point coordinates
x = (x_in + Xshift_in) * scale_in
y = (y_in + Yshift_in) * scale_in
x' = (Xx * x) + (Xy * y) + X1
y' = (Yx * x) + (Yy * y) + Y1
x_out = (x' * scale_out) + Xshift_out
y_out = (y' * scale_out) + Yshift_out
The "Affine" MathTransform has the following Parameters:
|
Parameter Name |
Parameter String |
Units |
|
input point scale |
scale_in |
double |
|
input x-coordinate shift |
Xshift_in |
double |
|
input y-coordinate shift |
Yshift_in |
double |
|
output point scale |
scale_out |
double |
|
output x-coordinate shift |
Xshift_out |
double |
|
output y-coordinate shift |
Yshift_out |
double |
|
x' x coefficient |
Xx |
double |
|
x' y coefficient |
Xy |
double |
|
x' delta |
X1 |
double |
|
y' x coefficient |
Yx |
double |
|
y' y coefficient |
Yy |
double |
|
y' delta |
Y1 |
double |
There are no Settings parameters for this MathTransform.
Comments
0 comments
Please sign in to leave a comment.