ef07903e71aa2e4d2968600e3cdd41b4078b040b,skimage/feature/tests/test_blob.py,,test_blob_log,#,50
Before Change
def test_blob_log():
r2 = math.sqrt(2)
img = np.ones((256, 256))
img3 = np.ones((5, 5, 5))
xs, ys = circle(200, 65, 5)
img[xs, ys] = 255
After Change
r = 6
pad = 10
im3 = ellipsoid(r, r, r)
im3 = util.pad(im3, pad, mode="constant")
blobs = blob_log(im3, min_sigma=3, max_sigma=10)
b = blobs[0]
assert b[0] == r + pad + 1
assert b[1] == r + pad + 1
assert b[2] == r + pad + 1
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: scikit-image/scikit-image
Commit Name: ef07903e71aa2e4d2968600e3cdd41b4078b040b
Time: 2018-02-14
Author: jni.soma@gmail.com
File Name: skimage/feature/tests/test_blob.py
Class Name:
Method Name: test_blob_log
Project Name: scikit-image/scikit-image
Commit Name: ef07903e71aa2e4d2968600e3cdd41b4078b040b
Time: 2018-02-14
Author: jni.soma@gmail.com
File Name: skimage/feature/tests/test_blob.py
Class Name:
Method Name: test_blob_dog
Project Name: explosion/thinc
Commit Name: d6d7cb7db51776b026514a1a2caa4073b9e998ad
Time: 2020-01-19
Author: honnibal+gh@gmail.com
File Name: thinc/backends/ops.py
Class Name: Ops
Method Name: list2padded
Project Name: explosion/thinc
Commit Name: d6d7cb7db51776b026514a1a2caa4073b9e998ad
Time: 2020-01-19
Author: honnibal+gh@gmail.com
File Name: thinc/backends/jax_ops.py
Class Name: JaxOps
Method Name: list2padded