vector_field_to_hom_mat2d T_vector_field_to_hom_mat2d VectorFieldToHomMat2d VectorFieldToHomMat2d vector_field_to_hom_mat2d (Operator)
Name
vector_field_to_hom_mat2d T_vector_field_to_hom_mat2d VectorFieldToHomMat2d VectorFieldToHomMat2d vector_field_to_hom_mat2d
— Approximate an affine map from a displacement vector field.
Signature
def vector_field_to_hom_mat2d (vector_field : HObject) -> Sequence[float]
Description
vector_field_to_hom_mat2d vector_field_to_hom_mat2d VectorFieldToHomMat2d VectorFieldToHomMat2d VectorFieldToHomMat2d vector_field_to_hom_mat2d
approximates an affine map from
the displacement vector field VectorField VectorField VectorField VectorField vectorField vector_field
. The affine map
is returned in HomMat2D HomMat2D HomMat2D HomMat2D homMat2D hom_mat_2d
.
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 affine_trans_image AffineTransImage AffineTransImage AffineTransImage affine_trans_image
) contains a map that
describes how to transform the first image
to the second image
. Note that the VectorField VectorField VectorField VectorField vectorField vector_field
must be in
relative coordinates as returned by optical_flow_mg optical_flow_mg OpticalFlowMg OpticalFlowMg OpticalFlowMg 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 VectorField VectorField VectorField vectorField vector_field
(input_object) singlechannelimage →
object HImage HObject HImage Hobject (vector_field)
Input image.
HomMat2D HomMat2D HomMat2D HomMat2D homMat2D hom_mat_2d
(output_control) hom_mat2d →
HHomMat2D , HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Output transformation matrix.
Possible Predecessors
optical_flow_mg optical_flow_mg OpticalFlowMg OpticalFlowMg OpticalFlowMg optical_flow_mg
Possible Successors
affine_trans_image affine_trans_image AffineTransImage AffineTransImage AffineTransImage affine_trans_image
Alternatives
vector_to_hom_mat2d vector_to_hom_mat2d VectorToHomMat2d VectorToHomMat2d VectorToHomMat2d vector_to_hom_mat2d
Module
Foundation