mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-04 22:29:57 +08:00
Remove print statements
This commit is contained in:
@@ -39,8 +39,6 @@ def test_fast_homography():
|
||||
H[:2, 2] = [tx, ty]
|
||||
|
||||
for mode in ('constant', 'mirror', 'wrap'):
|
||||
print 'Transform mode:', mode
|
||||
|
||||
p0 = homography(img, H, mode=mode, order=1)
|
||||
p1 = fast_homography(img, H, mode=mode)
|
||||
p1 = np.round(p1)
|
||||
@@ -54,7 +52,6 @@ def test_fast_homography():
|
||||
## plt.show()
|
||||
|
||||
d = np.mean(np.abs(p0 - p1))
|
||||
print "delta=", d
|
||||
assert d < 0.2
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user