Multidimensional image processing (scipy.ndimage
)¶
This package contains various functions for multidimensional image processing.
Filters¶
|
Multidimensional convolution. |
|
Calculate a 1-D convolution along the given axis. |
|
Multidimensional correlation. |
|
Calculate a 1-D correlation along the given axis. |
|
Multidimensional Gaussian filter. |
|
1-D Gaussian filter. |
|
Multidimensional gradient magnitude using Gaussian derivatives. |
|
Multidimensional Laplace filter using Gaussian second derivatives. |
|
Calculate a multidimensional filter using the given function. |
|
Calculate a 1-D filter along the given axis. |
|
Gradient magnitude using a provided gradient function. |
|
N-D Laplace filter using a provided second derivative function. |
|
N-D Laplace filter based on approximate second derivatives. |
|
Calculate a multidimensional maximum filter. |
|
Calculate a 1-D maximum filter along the given axis. |
|
Calculate a multidimensional median filter. |
|
Calculate a multidimensional minimum filter. |
|
Calculate a 1-D minimum filter along the given axis. |
|
Calculate a multidimensional percentile filter. |
|
Calculate a Prewitt filter. |
|
Calculate a multidimensional rank filter. |
|
Calculate a Sobel filter. |
|
Multidimensional uniform filter. |
|
Calculate a 1-D uniform filter along the given axis. |
Fourier filters¶
|
Multidimensional ellipsoid Fourier filter. |
|
Multidimensional Gaussian fourier filter. |
|
Multidimensional Fourier shift filter. |
|
Multidimensional uniform fourier filter. |
Interpolation¶
|
Apply an affine transformation. |
|
Apply an arbitrary geometric transform. |
|
Map the input array to new coordinates by interpolation. |
|
Rotate an array. |
|
Shift an array. |
|
Multidimensional spline filter. |
|
Calculate a 1-D spline filter along the given axis. |
|
Zoom an array. |
Measurements¶
|
Calculate the center of mass of the values of an array at labels. |
|
Calculate the minimums and maximums of the values of an array at labels, along with their positions. |
|
Find objects in a labeled array. |
|
Calculate the histogram of the values of an array, optionally at labels. |
|
Label features in an array. |
|
Roughly equivalent to [func(input[labels == i]) for i in index]. |
|
Calculate the maximum of the values of an array over labeled regions. |
|
Find the positions of the maximums of the values of an array at labels. |
|
Calculate the mean of the values of an array at labels. |
|
Calculate the median of the values of an array over labeled regions. |
|
Calculate the minimum of the values of an array over labeled regions. |
|
Find the positions of the minimums of the values of an array at labels. |
|
Calculate the standard deviation of the values of an N-D image array, optionally at specified sub-regions. |
|
Calculate the sum of the values of the array. |
|
Calculate the variance of the values of an N-D image array, optionally at specified sub-regions. |
|
Apply watershed from markers using image foresting transform algorithm. |
Morphology¶
|
Multidimensional binary closing with the given structuring element. |
|
Multidimensional binary dilation with the given structuring element. |
|
Multidimensional binary erosion with a given structuring element. |
|
Fill the holes in binary objects. |
|
Multidimensional binary hit-or-miss transform. |
|
Multidimensional binary opening with the given structuring element. |
|
Multidimensional binary propagation with the given structuring element. |
|
Multidimensional black tophat filter. |
|
Distance transform function by a brute force algorithm. |
|
Distance transform for chamfer type of transforms. |
|
Exact Euclidean distance transform. |
|
Generate a binary structure for binary morphological operations. |
|
Multidimensional grayscale closing. |
|
Calculate a greyscale dilation, using either a structuring element, or a footprint corresponding to a flat structuring element. |
|
Calculate a greyscale erosion, using either a structuring element, or a footprint corresponding to a flat structuring element. |
|
Multidimensional grayscale opening. |
|
Iterate a structure by dilating it with itself. |
|
Multidimensional morphological gradient. |
|
Multidimensional morphological laplace. |
|
Multidimensional white tophat filter. |