skimage2.filters.farid_v#

skimage2.filters.farid_v(image, *, mask=None)[source]#

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

Parameters:
imagendarray of shape (M, N)

Image to process.

maskndarray 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:
outputndarray of shape (M, N) and dtype float

The Farid edge map.

Notes

The kernel was constructed using the 5-tap weights from [1].

References

[1]

Farid, H. and Simoncelli, E. P., “Differentiation of discrete multidimensional signals”, IEEE Transactions on Image Processing 13(4): 496-508, 2004. DOI:10.1109/TIP.2004.823819