{ } Raw JSON

bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / filters / edges / scharr_v

function

skimage.filters.edges:scharr_v

source: /dev/scikit-image/src/skimage/filters/edges.py :413

Signature

def   scharr_v ( image mask = None )

Summary

Find the vertical edges of an image using the Scharr transform.

Parameters

image : ndarray of shape (M, N)

Image to process

mask : ndarray of shape (M, N), optional

An optional mask to limit the application to a certain area. Note that pixels surrounding masked regions are also masked to prevent masked regions from affecting the result.

Returns

output : ndarray of shape (M, N) and dtype float

The Scharr edge map.

Notes

We use the following kernel

 3   0   -3
10   0  -10
 3   0   -3

Aliases

  • skimage.filters.scharr_v