mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-13 12:40:24 +08:00
Add (bi-)cubic interpolation
This commit is contained in:
@@ -57,7 +57,7 @@ def test_fast_homography():
|
||||
tform = ProjectiveTransform(H)
|
||||
coords = warp_coords(tform.inverse, (img.shape[0], img.shape[1]))
|
||||
|
||||
for order in range(2):
|
||||
for order in range(4):
|
||||
for mode in ('constant', 'reflect', 'wrap'):
|
||||
p0 = map_coordinates(img, coords, mode=mode, order=order)
|
||||
p1 = warp(img, tform, mode=mode, order=order)
|
||||
|
||||
Reference in New Issue
Block a user