March 2018
Beginner to intermediate
306 pages
9h 54m
English
You need to complete the following steps:
import cv2import numpy as np
pts = np.random.multivariate_normal([150, 300], [[1024, 512], [512, 1024]], 50)rmat = cv2.getRotationMatrix2D((0, 0), 30, 1)[:, :2]rpts = np.matmul(pts, rmat.transpose())rpts_noise = rpts + np.random.multivariate_normal([0, 0], [[200, 0], [0, 200]], len(pts))
M = np.matmul(pts.transpose(), rpts_noise)sigma, u, v_t = cv2.SVDecomp(M)rmat_est ...