This is a module
metrics#
Collection of functions for extracting quantitative information from images#
This submodule contains functions for determining key metrics about an image. Typically these are applied to an image after applying a filter, but a few functions can be applied directly to the binary image.
|
Calculates fractal dimension of an image using the tiled box counting method [1]_ |
Find the length of each chord in the supplied image |
|
|
Determines the distribution of chord lengths in an image containing chords. |
|
Given a saturation profile, compute the height between given bounds |
|
Determines the probability that a point lies within a certain distance of the opposite phase along a specified direction |
|
Calculate the surface area of a meshed region |
|
Compute the volume of a single region by meshing it |
|
Produces a Pc-Snwp curve given a map of meniscus radii or capillary pressures at which each voxel was invaded |
|
This function is deprecated. |
|
This function is deprecated. |
|
Calculate the fraction of each phase in an image |
|
Calculate a pore-size distribution based on the image produced by the |
|
Calculates the porosity of an image assuming 1's are void space and 0's are solid phase. |
|
Computes the porosity profile along the specified axis |
|
Create an image with each region colored according the specified |
|
Create a |
|
Computes radial density function by analyzing the histogram of voxel values in the distance transform. |
|
Calculate the interfacial area between all pairs of adjecent regions |
|
Extract the surface area of each region in a labeled image. |
|
Compute volume of each labelled region in an image |
Calculates various metrics for each labeled region in a 3D image. |
|
Calculates the porosity of an image as a function subdomain size. |
|
|
Computes a saturation profile from an image of fluid invasion |
|
Calculate the two-point correlation function using Fourier transforms |