skimage2.filters#

Warning

This module is part of the experimental skimage2 namespace and is subject to change without notice. Do not use it in production code. See the migration guide for more details.

Sharpening, edge finding, rank filters, thresholding, etc.

apply_hysteresis_threshold

Apply hysteresis thresholding to image.

butterworth

Apply a Butterworth filter to enhance high or low frequency features.

correlate_sparse

Compute valid cross-correlation of padded_array and kernel.

difference_of_gaussians

Find features between low_sigma and high_sigma in size.

farid

Find the edge magnitude using the Farid transform.

farid_h

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

farid_v

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

filter_forward

Apply the given filter to data.

filter_inverse

Apply the filter in reverse to the given data.

frangi

Filter an image with the Frangi vesselness filter.

gabor

Return real and imaginary responses to Gabor filter.

gabor_kernel

Return complex 2D Gabor filter kernel.

gaussian

Filter with Multi-dimensional Gaussian kernel.

hessian

Filter an image with the Hybrid Hessian filter.

laplace

Find the edges of an image using the Laplace operator.

median

Return local median of an image.

meijering

Filter an image with the Meijering neuriteness filter.

prewitt

Find the edge magnitude using the Prewitt transform.

prewitt_h

Find the horizontal edges of an image using the Prewitt transform.

prewitt_v

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

rank_order

Return an image of the same shape where each pixel is the index of the pixel value in the ascending order of the unique values of image, aka the rank-order value.

roberts

Find the edge magnitude using Roberts' cross operator.

roberts_neg_diag

Find the cross edges of an image using the Roberts' Cross operator.

roberts_pos_diag

Find the cross edges of an image using Roberts' cross operator.

sato

Filter an image with the Sato tubeness filter.

scharr

Find the edge magnitude using the Scharr transform.

scharr_h

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

scharr_v

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

sobel

Find edges in an image using the Sobel filter.

sobel_h

Find the horizontal edges of an image using the Sobel transform.

sobel_v

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

threshold_isodata

Return threshold value(s) based on ISODATA method.

threshold_li

Compute threshold value by Li's iterative Minimum Cross Entropy method.

threshold_local

Compute a threshold mask image based on local pixel neighborhood.

threshold_mean

Return threshold value based on the mean of grayscale values.

threshold_minimum

Return threshold value based on minimum method.

threshold_multiotsu

Generate classes-1 threshold values to divide gray levels in image, following Otsu's method for multiple classes.

threshold_niblack

Applies Niblack local threshold to an array.

threshold_otsu

Return threshold value based on Otsu's method.

threshold_sauvola

Applies Sauvola local threshold to an array.

threshold_triangle

Return threshold value based on the triangle algorithm.

threshold_yen

Return threshold value based on Yen's method.

try_all_threshold

Returns a figure comparing the outputs of different thresholding methods.

unsharp_mask

Unsharp masking filter.

wiener

Minimum Mean Square Error (Wiener) inverse filter.

window

Return an n-dimensional window of a given size and dimensionality.

LPIFilter2D

Linear Position-Invariant Filter (2-dimensional)

rank

Rank filters, e.g. median, entropy, local Otsu, etc.