a4804a43925bfa0fb58935344adfdd862a6ec889,skimage/filters/thresholding.py,,_mean_std,#Any#Any#,727
Before Change
I = integral_image(image) // Integral Image.
// 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
kern[[0, -1], [-1, 0]] = -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
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
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: markovmodel/PyEMMA
Commit Name: 0fba025c0d92308682c4fb2401781ce33e17d5dd
Time: 2016-12-13
Author: fabian.paul@mpikg.mpg.de
File Name: pyemma/coordinates/transform/tica.py
Class Name: EquilibriumCorrectedTICA
Method Name: _estimate
Project Name: interactiveaudiolab/nussl
Commit Name: 39e87ed373b44d9683b7aaee1f3c1b897ef1ab3b
Time: 2017-07-06
Author: daniel.felixkim@gmail.com
File Name: nussl/Duet.py
Class Name: Duet
Method Name: convert_peaks