Approximate an affine map from vectors.
vector_to_affin approximates an affine map from at least three vectors. The procedure is identical to the one in dvf_to_affin, the difference being that here the vectors are passed as tuples, whereas in dvf_to_affin they are passed as an image. The calculated map can be examined with image_getmatrix or used directly with image_transform__.
Rows1 (input_control) |
line.begin.y-array -> real |
Row coordinates of the starting points. |
Columns1 (input_control) |
line.begin.x-array -> real |
Column coordinates of the starting points. |
Rows2 (input_control) |
line.end.y-array -> real |
Row coordinates of the end points. |
Columns2 (input_control) |
line.end.x-array -> real |
Column coordinates of the end points. |
image_transform__, image_getmatrix
image_transform__, image_getmatrix, optical_flow1__, optical_flow2