Operator Reference
vector_field_to_hom_mat2d (Operator)
vector_field_to_hom_mat2d
— Approximate an affine map from a displacement vector field.
Signature
vector_field_to_hom_mat2d(VectorField : : : HomMat2D)
Description
vector_field_to_hom_mat2d
approximates an affine map from
the displacement vector field VectorField
. The affine map
is returned in HomMat2D
.
If the displacement vector field has been computed from the original
image and the second image
, the internally stored transformation
matrix (see affine_trans_image
) contains a map that
describes how to transform the first image
to the second image
. Note that the VectorField
must be in
relative coordinates as returned by optical_flow_mg
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
VectorField
(input_object) singlechannelimage →
object (vector_field)
Input image.
HomMat2D
(output_control) hom_mat2d →
(real)
Output transformation matrix.
Possible Predecessors
Possible Successors
Alternatives
Module
Foundation