23643aa4c74c9f9db92234ca9fe2643c9dccb026,skimage/filters/edges.py,,sobel,#,69
Before Change
>>> edges = filters.sobel(camera)
check_nD(image, 2)
out = np.sqrt(sobel_h(image, mask) ** 2 + sobel_v(image, mask) ** 2)
out /= np.sqrt(2)
return out
def sobel_h(image, mask=None):
After Change
>>> camera = data.camera()
>>> edges = filters.sobel(camera)
image = img_as_float(image)
output = _generic_edge_filter(image, smooth_weights=SOBEL_SMOOTH,
axis=axis, mode=mode, cval=cval)
if image.ndim == 2 and mask is not None:
output = _mask_filter_result(output, mask)
return output
def sobel_h(image, mask=None):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 24
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: sobel
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
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
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