23643aa4c74c9f9db92234ca9fe2643c9dccb026,skimage/filters/edges.py,,scharr_v,#,267

Before Change



    
    check_nD(image, 2)
    image = img_as_float(image)
    result = convolve(image, VSCHARR_WEIGHTS)
    return _mask_filter_result(result, mask)


def prewitt(image, mask=None):
    Find the edge magnitude using the Prewitt transform.

After Change


           Optimization of Kernel Based Image Derivatives.
    
    check_nD(image, 2)
    return scharr(image, mask=mask, axis=1)


def prewitt(image, mask=None, *, axis=None, mode="reflect", cval=0.0):
    Find the edge magnitude using the Prewitt transform.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 9

Instances


Project Name: scikit-image/scikit-image
Commit Name: 23643aa4c74c9f9db92234ca9fe2643c9dccb026
Time: 2019-12-09
Author: juan.n@unimelb.edu.au
File Name: skimage/filters/edges.py
Class Name:
Method Name: scharr_v


Project Name: scikit-image/scikit-image
Commit Name: 23643aa4c74c9f9db92234ca9fe2643c9dccb026
Time: 2019-12-09
Author: juan.n@unimelb.edu.au
File Name: skimage/filters/edges.py
Class Name:
Method Name: sobel_v


Project Name: scikit-image/scikit-image
Commit Name: 23643aa4c74c9f9db92234ca9fe2643c9dccb026
Time: 2019-12-09
Author: juan.n@unimelb.edu.au
File Name: skimage/filters/edges.py
Class Name:
Method Name: prewitt_h


Project Name: scikit-image/scikit-image
Commit Name: 23643aa4c74c9f9db92234ca9fe2643c9dccb026
Time: 2019-12-09
Author: juan.n@unimelb.edu.au
File Name: skimage/filters/edges.py
Class Name:
Method Name: sobel_h


Project Name: scikit-image/scikit-image
Commit Name: 23643aa4c74c9f9db92234ca9fe2643c9dccb026
Time: 2019-12-09
Author: juan.n@unimelb.edu.au
File Name: skimage/filters/edges.py
Class Name:
Method Name: prewitt_v


Project Name: scikit-image/scikit-image
Commit Name: 23643aa4c74c9f9db92234ca9fe2643c9dccb026
Time: 2019-12-09
Author: juan.n@unimelb.edu.au
File Name: skimage/filters/edges.py
Class Name:
Method Name: scharr_h