hom_mat2d_identity (Operator)
Name hom_mat2d_identity — Generate the homogeneous transformation matrix of the identical 2D transformation. 【1】定义二维齐次变换矩阵,定义完后变换矩阵是单位阵(鸟叔) 【2】定义一个二维变换矩阵,然后把它变成其次的变换矩阵 homogeneous transformation matrix 齐次转换矩阵 identical 同质的 / 1 0 0 \ HomMat2DIdentity = | 0 1 0 | \ 0 0 1 /
hom_mat2d_identity( : : : HomMat2DIdentity) hom_mat2d_identity generates the homogeneous transformation matrix HomMat2DIdentity describing the identical 2D transformation: / 1 0 0 \ HomMat2DIdentity = | 0 1 0 | \ 0 0 1 /
【1】Note that homogeneous matrices are stored row-by-row as a tuple; 【2】the last row is not stored because it is identical (相同而)for all homogeneous matrices that describe an affine transformation. Thus, HomMat2DIdentity is stored as the tuple [1,0,0,0,1,0]. identity同质的,相同的
【1】仿射变换可以理解为:对坐标进行缩放、平移、旋转,最后取得新坐标的值 【2】定义一个二维变换矩阵,然后把它变成其次的变换矩阵 【3】hom_mat2d_identity (Operator) ,这一系列算子。
hom_mat2d_是指二维齐次矩阵。是从原来非齐次转化的,他们是同质的
|
|
来自: 机器视觉小菜鸟 > 《halcon算子》