mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-04 13:00:57 +08:00
Add (bi-)cubic interpolation
This commit is contained in:
1 parent
7a0e0b8f33
commit
abe5dc3cec
5 files changed
+113
-14
No files matched your search
@@ -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