vector_to_affin ( : : Rows1, Columns1, Rows2, Columns2 : )

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__.


Parameters

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.


Possible Successors

image_transform__, image_getmatrix


Alternatives

dvf_to_affin


See also

image_transform__, image_getmatrix, optical_flow1__, optical_flow2



Copyright © 1996-1997 MVTec Software GmbH