- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
======================================================================-====*/
- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
======================================================================-====*/
// Generic IO
/// Returns the dimension and pixel type of the *first* input
void GetInputImageDimensionAndPixelType(unsigned int& dim, std::string& pixeltype,
unsigned int & components);
// Generic IO
/// Returns the dimension and pixel type of the *first* input
void GetInputImageDimensionAndPixelType(unsigned int& dim, std::string& pixeltype,
unsigned int & components);
// File IO
void SetInputFilename(const std::string & filename);
void AddInputFilename(const std::string & filename);
void SetInputFilenames(const std::vector<std::string> & filenames);
void EnableReadOnDisk(bool b);
// File IO
void SetInputFilename(const std::string & filename);
void AddInputFilename(const std::string & filename);
void SetInputFilenames(const std::vector<std::string> & filenames);
void EnableReadOnDisk(bool b);
void SetOutputFilenames(const std::vector<std::string> & filenames);
std::string GetOutputFilename();
void SetIOVerbose(bool b);
void SetOutputFilenames(const std::vector<std::string> & filenames);
std::string GetOutputFilename();
void SetIOVerbose(bool b);
/// Call this function to dispatch an output towards the correct sink
template<class ImageType>
void SetNextOutput(typename ImageType::Pointer output);
/// Call this function to dispatch an output towards the correct sink
template<class ImageType>
void SetNextOutput(typename ImageType::Pointer output);