You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### Processing 1.jpg & 2.jpg ######
N: 1122.0, n: 6, M:2.0, p: 0.99, eps: 0.6, delta: 3
Traceback (most recent call last):
File "image_mosaic.py", line 222, in <module>
obj.mosaic()
File "image_mosaic.py", line 40, in mosaic
inliers_cnt, inliers, outliers, sample_pts, final_H = ransac_obj.run_ransac(correspondence)
File "D:\Image-Mosaicing\ransac.py", line 115, in run_ransac
idx, n_idx = self.sample_n_datapts(n_total, self.n)
File "D:\Image-Mosaicing\ransac.py", line 47, in sample_n_datapts
idx = np.random.choice(n_total, n, replace=False)
File "mtrand.pyx", line 954, in numpy.random.mtrand.RandomState.choice
ValueError: Cannot take a larger sample than population when 'replace=False'
img
2750*160000
python image_mosaic.py
'replace=True'
python image_mosaic.py
The text was updated successfully, but these errors were encountered: