ClassesClasses | | Operators

vector_field_to_hom_mat2dT_vector_field_to_hom_mat2dVectorFieldToHomMat2dVectorFieldToHomMat2d (Operator)

Name

vector_field_to_hom_mat2dT_vector_field_to_hom_mat2dVectorFieldToHomMat2dVectorFieldToHomMat2d — Approximate an affine map from a displacement vector field.

Signature

vector_field_to_hom_mat2d(VectorField : : : HomMat2D)

Herror T_vector_field_to_hom_mat2d(const Hobject VectorField, Htuple* HomMat2D)

void VectorFieldToHomMat2d(const HObject& VectorField, HTuple* HomMat2D)

HHomMat2D HImage::VectorFieldToHomMat2d() const

void HHomMat2D::VectorFieldToHomMat2d(const HImage& VectorField)

static void HOperatorSet.VectorFieldToHomMat2d(HObject vectorField, out HTuple homMat2D)

HHomMat2D HImage.VectorFieldToHomMat2d()

void HHomMat2D.VectorFieldToHomMat2d(HImage vectorField)

Description

vector_field_to_hom_mat2dvector_field_to_hom_mat2dVectorFieldToHomMat2dVectorFieldToHomMat2dVectorFieldToHomMat2d approximates an affine map from the displacement vector field VectorFieldVectorFieldVectorFieldVectorFieldvectorField. The affine map is returned in HomMat2DHomMat2DHomMat2DHomMat2DhomMat2D.

If the displacement vector field has been computed from the original image and the second image , the internally stored transformation matrix (see affine_trans_imageaffine_trans_imageAffineTransImageAffineTransImageAffineTransImage) contains a map that describes how to transform the first image to the second image . Note that the VectorFieldVectorFieldVectorFieldVectorFieldvectorField must be in relative coordinates as returned by optical_flow_mgoptical_flow_mgOpticalFlowMgOpticalFlowMgOpticalFlowMg.

Execution Information

Parameters

VectorFieldVectorFieldVectorFieldVectorFieldvectorField (input_object)  singlechannelimage objectHImageHImageHobject (vector_field)

Input image.

HomMat2DHomMat2DHomMat2DHomMat2DhomMat2D (output_control)  hom_mat2d HHomMat2D, HTupleHTupleHtuple (real) (double) (double) (double)

Output transformation matrix.

Possible Predecessors

optical_flow_mgoptical_flow_mgOpticalFlowMgOpticalFlowMgOpticalFlowMg

Possible Successors

affine_trans_imageaffine_trans_imageAffineTransImageAffineTransImageAffineTransImage

Alternatives

vector_to_hom_mat2dvector_to_hom_mat2dVectorToHomMat2dVectorToHomMat2dVectorToHomMat2d

Module

Foundation


ClassesClasses | | Operators