Authors belong to:
- University of LYON http://www.universite-lyon.fr/
- - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
+ - Léon Bérard cancer center http://www.centreleonberard.fr
- CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
This software is distributed WITHOUT ANY WARRANTY; without even
- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-======================================================================-====*/
+===========================================================================**/
#ifndef CLITKIMAGETOIMAGEGENERICFILTERBASE_H
#define CLITKIMAGETOIMAGEGENERICFILTERBASE_H
void SetInputFilenames(const std::vector<std::string> & filenames);
void EnableReadOnDisk(bool b);
void EnableWriteOnDisk(bool b);
+ void EnableWriteCompression(bool b);
void SetOutputFilename(const std::string & filename);
void AddOutputFilename(const std::string filename);
void SetOutputFilenames(const std::vector<std::string> & filenames);
protected:
bool m_ReadOnDisk;
bool m_WriteOnDisk;
+ bool m_WriteCompression;
+
/// Call this function to dispatch an output towards the correct sink
template<class ImageType>
void SetNextOutput(typename ImageType::Pointer output);
ADD_IMAGE_TYPE(DIM, int); \
ADD_IMAGE_TYPE(DIM, float); \
ADD_IMAGE_TYPE(DIM, double);
+#define ADD_DEFAULT_VEC_IMAGE_TYPES ADD_VEC_IMAGE_TYPE(2,2,float); \
+ ADD_VEC_IMAGE_TYPE(2,3,float); \
+ ADD_VEC_IMAGE_TYPE(3,3,float);
//#include "clitkImageToImageGenericFilterBase.txx"