skimage2.filters.farid_h#
- skimage2.filters.farid_h(image, *, mask=None)[source]#
Find the horizontal 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
[2]Farid, H. and Simoncelli, E. P. âOptimally rotation-equivariant directional derivative kernelsâ, In: 7th International Conference on Computer Analysis of Images and Patterns, Kiel, Germany. Sep, 1997.