vector_field_to_hom_mat2dT_vector_field_to_hom_mat2dVectorFieldToHomMat2dVectorFieldToHomMat2dvector_field_to_hom_mat2d (算子名称)

名称

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

参数签名

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)

def vector_field_to_hom_mat2d(vector_field: HObject) -> Sequence[float]

描述

vector_field_to_hom_mat2dvector_field_to_hom_mat2dVectorFieldToHomMat2dVectorFieldToHomMat2dVectorFieldToHomMat2dvector_field_to_hom_mat2d approximates an affine map from the displacement vector field VectorFieldVectorFieldVectorFieldVectorFieldvectorFieldvector_field. The affine map is returned in HomMat2DHomMat2DHomMat2DHomMat2DhomMat2Dhom_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_imageaffine_trans_imageAffineTransImageAffineTransImageAffineTransImageaffine_trans_image) contains a map that describes how to transform the first image to the second image . Note that the VectorFieldVectorFieldVectorFieldVectorFieldvectorFieldvector_field must be in relative coordinates as returned by optical_flow_mgoptical_flow_mgOpticalFlowMgOpticalFlowMgOpticalFlowMgoptical_flow_mg.

运行信息

参数表

VectorFieldVectorFieldVectorFieldVectorFieldvectorFieldvector_field (input_object)  singlechannelimage objectHImageHObjectHImageHobject (vector_field)

Input image.

HomMat2DHomMat2DHomMat2DHomMat2DhomMat2Dhom_mat_2d (output_control)  hom_mat2d HHomMat2D, HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Output transformation matrix.

可能的前置算子

optical_flow_mgoptical_flow_mgOpticalFlowMgOpticalFlowMgOpticalFlowMgoptical_flow_mg

可能的后置算子

affine_trans_imageaffine_trans_imageAffineTransImageAffineTransImageAffineTransImageaffine_trans_image

可替代算子

vector_to_hom_mat2dvector_to_hom_mat2dVectorToHomMat2dVectorToHomMat2dVectorToHomMat2dvector_to_hom_mat2d

模块

Foundation