Function puma::fillClosedPores

Function Documentation

bool puma::fillClosedPores(Workspace *ws, puma::Cutoff voidRange, short filledValue, bool print = true, int numThreads = 0)

Identify the porespace and fill closed porosity

Parameters
  • ws – the output filled workspace with IDs set as: 0 for void, 1 for solid, filledValue for added filler material

  • voidRange – the grayscale range to consider

  • filledValue – value to fill closed porosity with

  • print – whether to print progress, optional

  • numThreads – number of threads to use, optional

Returns

true if successful, false if it failing