Function puma::identifyPoreSpace
Defined in File porespace.h
Function Documentation
-
bool puma::identifyPoreSpace(Workspace *ws, puma::Matrix<long> *poreMatrix, puma::Cutoff voidRange, bool print = true, int numThreads = 0)
Identify the porespace
- Parameters
ws – the input workspace
poreMatrix – the output matrix with identified pores: porespace marked as: 0 solid, 1 largest pore (likely open porosity), >1 other pores
voidRange – the grayscale range to consider
print – whether to print progress, optional
numThreads – number of threads to use, optional
- Returns
true if successful, false if it failing