Template Function puma::export_3DTiff(Matrix<T> *, const std::string&, bool)

Function Documentation

template<class T>
bool puma::export_3DTiff(Matrix<T> *matrix, const std::string &fileName, bool normalized)

Exports a puma::Matrix to a tif file.

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.tif

  • normalized – Bool value which allows user to normalize the workspace to between 0 and 255 (max range of 8bit tif) - True to normalize, false to leave as is.

Returns

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