Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我曾尝试使用该命令estimateGeometricTransform,fitgeotrans但它返回一个类对象,affine2d我需要的是生成一个可以绘图的转换矩阵。
estimateGeometricTransform
fitgeotrans
affine2d
有什么具体的命令吗?
该类affine2d有一个属性T,其中包含变换矩阵。
T
tform = estimateGeometricTransform(...) tform.T % prints the transformation matrix