a4804a43925bfa0fb58935344adfdd862a6ec889,skimage/filters/thresholding.py,,_mean_std,#Any#Any#,727

Before Change



    // Pad left and top of Integral image with zeros
    I = np.vstack((np.zeros((1, I.shape[1]), I.dtype), I))
    I = np.hstack((np.zeros((I.shape[0], 1), I.dtype), I))

    kern = np.zeros((w + 1, w + 1))
    kern[0, 0], kern[-1, -1] = 1, 1

After Change


    integrated = integral_image(image)  // Integral Image.

    // Pad left and top of Integral image with zeros
    integrated = np.pad(integrated, 1, mode="constant")[:-1,:-1]

    kern = np.zeros((w + 1, w + 1))
    kern[0, 0] = 1
    kern[-1, -1] = 1
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: scikit-image/scikit-image
Commit Name: a4804a43925bfa0fb58935344adfdd862a6ec889
Time: 2016-12-25
Author: devel@sciunto.org
File Name: skimage/filters/thresholding.py
Class Name:
Method Name: _mean_std


Project Name: uber/ludwig
Commit Name: dfbe335e866460547f97ed7ed4af0b1ad1b70bcf
Time: 2020-09-05
Author: jimthompson5802@gmail.com
File Name: ludwig/decoders/sequence_decoders.py
Class Name: SequenceGeneratorDecoder
Method Name: decoder_greedy


Project Name: arraiy/torchgeometry
Commit Name: 38127f47b9aae69f1ac7fb5644c56e61aaeb1c89
Time: 2019-01-11
Author: kaplanonu@gmail.com
File Name: torchgeometry/imgwarp.py
Class Name:
Method Name: warp_affine


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


Project Name: uber/ludwig
Commit Name: dfbe335e866460547f97ed7ed4af0b1ad1b70bcf
Time: 2020-09-05
Author: jimthompson5802@gmail.com
File Name: ludwig/decoders/sequence_decoders.py
Class Name: SequenceGeneratorDecoder
Method Name: decoder_teacher_forcing