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

asked 2019-11-06 03:01:56 -0600

patto gravatar image

updated 2019-11-06 03:17:41 -0600

supra56 gravatar image

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?

edit retag flag offensive close merge delete

Comments

Here is answer from Tetragramm

supra56 gravatar imagesupra56 ( 2019-11-06 13:16:08 -0600 )edit