Function puma::import_bin(Matrix<short> *, const std::string&, int)

Function Documentation

bool puma::import_bin(Matrix<short> *matrix, const std::string &fileName, int numThreads = 0)

Imports a binary file (.puma) into the passed matrix.

Parameters
  • matrix – is a pointer to a matrix

  • fileName – is a string that has the path to the tiff: ex: “/home/jsmith/Desktop/myMatrix.puma”

  • numThreads – is the number of threads used in the input. 0 defaults to max number of threads