mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-04 13:14:23 +08:00
FIX: Fixed test for biharmonic in accordance to new kernel for edges
This commit is contained in:
@@ -14,9 +14,9 @@ def test_inpaint_biharmonic():
|
||||
mask[0, 4:] = 1
|
||||
out = inpaint.inpaint_biharmonic(img, mask)
|
||||
ref = np.array(
|
||||
[[0., 0.0625, 0.25, 0.5625, 0.671875],
|
||||
[0., 0.0625, 0.25, 0.5390625, 0.78125],
|
||||
[0., 0.0625, 0.2578125, 0.5625, 0.890625],
|
||||
[[0., 0.0625, 0.25, 0.5625, 0.56947314],
|
||||
[0., 0.0625, 0.25, 0.47029959, 0.57644628],
|
||||
[0., 0.0625, 0.24664256, 0.49225207, 0.68956612],
|
||||
[0., 0.0625, 0.25, 0.5625, 1.],
|
||||
[0., 0.0625, 0.25, 0.5625, 1.]]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user