ad66bf0a8faf1f230891faea92c31d8a3a0baa3f,niftynet/engine/sampler_selective.py,,candidate_indices,#Any#Any#Any#,112

Before Change


        final = np.pad(np.ones(shape_ones),
                       np.asarray(padding, dtype=np.int32),
                       "constant")
        new_win_size = np.copy(win_sizes)
        // new_win_size[:N_SPATIAL] = win_sizes[0]/8
        window_mean = np.ones(new_win_size, dtype=np.int32)
        mean_counts_size = []
        // print(unique)

After Change


        for value in unique:
            // print(np.sum(data), "sum in data", np.prod(data.shape),
            //       " elements in data")
            seg_label = (data == value).astype(data.dtype)
            // print(np.sum(seg_label), " num values in seg_label ", value)
            label_size = create_label_size_map(seg_label)
            // print(value, np.sum(seg_label), seg_label.shape,
            //       window_ones.shape, num_min)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


Project Name: NifTK/NiftyNet
Commit Name: ad66bf0a8faf1f230891faea92c31d8a3a0baa3f
Time: 2017-10-04
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/sampler_selective.py
Class Name:
Method Name: candidate_indices


Project Name: scikit-image/scikit-image
Commit Name: 86b395f4185bc98a7db614df368cd44e6a6866c6
Time: 2021-02-10
Author: rfezzani@gmail.com
File Name: skimage/morphology/misc.py
Class Name:
Method Name: remove_small_holes


Project Name: senarvi/theanolm
Commit Name: 189819853d6c8afcff68df77b60a4f5f89527036
Time: 2016-11-14
Author: seppo.git@marjaniemi.com
File Name: theanolm/scoring/textscorer.py
Class Name: TextScorer
Method Name: score_batch


Project Name: danforthcenter/plantcv
Commit Name: 132a83a86879f4389e4d3acbe989399be0f2c708
Time: 2018-10-18
Author: hschuhl@danforthcenter.org
File Name: plantcv/plantcv/fill.py
Class Name:
Method Name: fill


Project Name: sebp/scikit-survival
Commit Name: 411310289c5e5f49920bfec12ca195b1f914fd73
Time: 2020-09-19
Author: sebp@k-d-w.org
File Name: sksurv/column.py
Class Name:
Method Name: standardize_column