Home
last modified time | relevance | path

Searched refs:num_pts (Results 1 – 1 of 1) sorted by relevance

/external/opencv3/modules/python/test/
Dcamera_calibration.py215 num_pts = num_x_ints * num_y_ints variable
224 opts = cv.CreateMat(nimages * num_pts, 3, cv.CV_32FC1)
226 for j in range(num_pts):
227 opts[i * num_pts + j, 0] = (j / num_x_ints) * squaresize
228 opts[i * num_pts + j, 1] = (j % num_x_ints) * squaresize
229 opts[i * num_pts + j, 2] = 0
233 ipts = cv.CreateMat(len(goodcorners) * num_pts, 2, cv.CV_32FC1)
235 for j in range(num_pts):
236 ipts[i * num_pts + j, 0] = co[j][0]
237 ipts[i * num_pts + j, 1] = co[j][1]
[all …]