我有同样的问题,如下所述: how to perform coordinates affine transformation using python? 我试图用描述的方法,但由于某种原因,我会得到错误信息。 我对代码所做的更改是替换主系统和辅助系统点。我使用不同的origo创建了辅助坐标点。在我研究这个主题的实际案例中,在测量坐标时会有一些错误。 primary_system1 = (40.0,
我发现下面的代码中PAffineTransform: /**
* Scales the transform about the given point by the given scale.
*
* @param scale to transform the transform by
* @param x x coordinate around which
我试图找到一个2-d使用给出的解决affine tranform给出了两个点由Kloss, and Kloss in “N-Dimensional Linear Vector Field Regression with NumPy.” (2010, The Python Papers Source Codes 2). Article source code。 他们给一个方法来找到仿射变换连接两组点