Function puma::filter_Bilateral

Function Documentation

bool puma::filter_Bilateral(puma::Workspace *work, int window_radius, double sigma_d, double sigma_r, int numThreads = 0)

Executes a Bilateral Filter a puma::Workspace.

Parameters
  • matrix – Pointer to a puma::Matrix to be exported,

  • fileName – std::string containing the location and filename for export, Ex: /home/jsmith/Desktop/myMatrix.vtk

  • numThreads – Integer value, number of threads to be used in calculation. If 0 is put, it defaults to the max number of processors

  • fileType – ‘b’ for Binary, ‘a’ for ASCII. Typically ‘b’. Defaults to ‘b’ if nothing is provided.

  • precision – Integer value for the precision of the floating point numbers. 1-7 allowed. typically 3.

Returns

bool True if output was successful, False if an error occured.