1.hom_mat2d_identity (HomMat2DIdentity)
初始化一个矩阵[1.0, 0.0, 0.0, 0.0, 1.0, 0.0]
2.hom_mat2d_translate (HomMat2DIdentity, Row, Column, HomMat2DTranslate)
把矩阵平移到Row,Column
3.affine_trans_contour_xld (ShapeModel, ShapeModelTrans, HomMat2DTranslate)
把 ShapeModel应用到 上面的那个矩阵上,生成新的区域ShapeModelTrans

本文介绍如何用HomMat2DIdentity创建单位矩阵,通过hom_mat2d_translate实现矩阵平移,以及affine_trans_contour_xld函数在形状模型上的应用。涉及关键步骤包括矩阵的构造、平移操作和形状变换技术。
7724

被折叠的 条评论
为什么被折叠?



