Reduce edge effects in Frangi test by using bigger square

This commit is contained in:
Juan Nunez-Iglesias
2016-07-16 21:32:34 -05:00
parent 96078c1f6d
commit 3bcb97edc3
+2 -2
View File
@@ -13,8 +13,8 @@ def test_null_matrix():
def test_energy_decrease():
a = np.zeros((3, 3))
a[1, 1] = 1.
a = np.zeros((5, 5))
a[2, 2] = 1.
assert frangi(a).std() < a.std()
assert frangi(a, black_ridges=False).std() < a.std()
assert hessian(a).std() > a.std()