b4bfb0de9c7237c9d404d5565f6d77c21bec5b48,skimage/morphology/watershed.py,,watershed,#Any#Any#Any#Any#Any#Any#,149

Before Change


    c_output = c_output.reshape(c_image.shape)[[slice(1, -1, None)] *
                                               image.ndim]
    try:
        return c_output.astype(markers.dtype)
    except:
        return c_output

After Change


                         mask, image_strides, compactness,
                         output.ravel())

    output = crop(output, pad_width, copy=True)

    return output
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: scikit-image/scikit-image
Commit Name: b4bfb0de9c7237c9d404d5565f6d77c21bec5b48
Time: 2016-08-24
Author: juan.n@unimelb.edu.au
File Name: skimage/morphology/watershed.py
Class Name:
Method Name: watershed


Project Name: mittagessen/kraken
Commit Name: 1c1d0ef32ebeeaced54caf611b3efb6795eab9fa
Time: 2015-12-21
Author: mittagessen@l.unchti.me
File Name: kraken/linegen.py
Class Name:
Method Name: render_line


Project Name: pyannote/pyannote-audio
Commit Name: ce256cd694bcb56ed660e5b53f73918638bc82d7
Time: 2020-01-30
Author: bredin@limsi.fr
File Name: pyannote/audio/preprocessors/speech_activity_detection.py
Class Name: RemoveNonSpeech
Method Name: __call__


Project Name: AlexEMG/DeepLabCut
Commit Name: b76be665a3f54c16182567e20046958e90d0c391
Time: 2020-08-19
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/utils/auxfun_videos.py
Class Name:
Method Name: CropVideo