Image filter and manipulation (medpy.filter
)#
This package contains various image filters and image manipulation functions.
Smoothing medpy.filter.smoothing
#
Image smoothing / noise reduction in grayscale images.
|
Edge-preserving, XD Anisotropic diffusion. |
|
Applies a X-1D gauss to a copy of a XD image, slicing it along dim. |
Binary medpy.filter.binary
#
Binary image manipulation.
|
Removes binary objects from an image identified by a size threshold. |
|
Select the largest connected binary component in an image. |
|
Return the bounding box incorporating all non-zero values in the image. |
Image medpy.filter.image
#
Grayscale image manipulation.
|
Computes the signed local similarity between two images. |
|
Computes the sum of squared difference (SSD) between patches of minuend and subtrahend. |
|
Calculates a multi-dimensional average filter. |
|
Calculates a multi-dimensional sum filter. |
|
Returns all local minima from an image. |
|
Otsu's method to find the optimal threshold separating an image into fore- and background. |
|
Re-sample an image to a new voxel-spacing. |
Label medpy.filter.label
#
Label map manipulation.
|
Relabel an image using the supplied mapping. |
|
Relabel the regions of a label image. |
|
Relabel the regions of a label image. |
|
Reduces a label images by overlaying it with a binary mask and assign the labels either to the mask or to the background. |
Noise medpy.filter.noise
#
Global and local noise estimation in grayscale images.
|
Estimate the global noise. |
|
Estimate the local noise. |
|
Calculate a n-dimensional convolution of a separable kernel to a n-dimensional input. |
Utilities medpy.filter.utilities
#
Utilities to apply filters selectively and create your own ones.
|
Applies the function fun along all X-1D dimensional volumes of the images img dimension dim. |
|
Returns the intersecting parts of two images in real world coordinates. |
|
Returns a copy of the input, padded by the supplied structuring element. |
Hough transform medpy.filter.houghtransform
#
The hough transform shape detection algorithm.
|
Implementation of the general hough transform for all dimensions. |
|
Alternative implementation of the general hough transform, which uses iteration over indices rather than broadcasting rules like |
|
Returns an ellipsoid binary structure of a of the supplied radius that can be used as template input to the generalized hough transform. |
|
Returns a spherical binary structure of a of the supplied radius that can be used as template input to the generalized hough transform. |
Intensity range standardization medpy.filter.IntensityRangeStandardization
#
A learning method to align the intensity ranges of images.
|
Class to standardize intensity ranges between a number of images. |