Ask Your Question

Revision history [back]

How to get the scale factor from Mx,i = cv2.estimateAffinePartial2D

How to get the scale factor from Mx,i = cv2.estimateAffinePartial2D(src_pts, dst_pts)? scale = np.sqrt((Mx[0,1] * Mx[0,1]) + (Mx[0,0] * Mx[0,0])) right?

How to get the scale factor from Mx,i = cv2.estimateAffinePartial2D

How to get the scale factor from from:

Mx,i = cv2.estimateAffinePartial2D(src_pts, dst_pts)? dst_pts)
scale = np.sqrt((Mx[0,1] * Mx[0,1]) + (Mx[0,0] * Mx[0,0])) Mx[0,0]))

right?