fastpli.analysis.affine_transformation.calc_matrix

calc_matrix(p_in, p_out)[source]

Calculate the affine transformation matrix.

Parameters

p_in, p_out ((3,2)-array_like) – list of 3 x 2d points which will be transformed from p_in to p_out

Returns

res – affine transformation matrix

Return type

(3x3)-array