porespy.metrics#
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.
Functions#
|
Computes the Bond number for an image |
|
Calculates the fractal dimension of an image using the tiled box counting |
|
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 |
|
Finds the porosity of the image at the percolation threshold |
|
Finds the porosity of the image at the percolation threshold |
|
Determines if a percolating path exists across the domain (in the specified |
|
Determines the probability that a point lies within a certain distance |
|
Calculate the surface area of a meshed region |
|
Compute the volume of a single region by meshing it |
|
Converts a pc map into a capillary pressure curve |
|
Finds volume fraction of void space which belongs to percolating paths |
|
Finds volume fraction of void space which belongs to percolating paths |
|
Calculate the fraction of each phase in an image |
|
Calculate the fraction of each phase in an image |
|
Calculate a pore-size distribution based on the image produced by the |
|
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 |
|
Calculates the porosity of an image assuming 1's are void space and 0's |
|
Computes different types of porosity in an image including total, closed, and |
|
Computes the porosity profile along the specified axis |
|
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 |
|
Computes radial density function by analyzing the histogram of voxel |
|
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 for a many subdomains of diffrent sizes, suitable for |
|
Calculates the tortuosity for a range of subdomain sizes suitable for an REV plot |
|
Computes a saturation profile from an image of fluid invasion |
|
Computes a saturation profile from an image of fluid invasion |
|
Calculate the two-point correlation function using Fourier transforms |
|
Calculate the two-point correlation function using Fourier transforms |