X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkImageCommon.h;h=32bba4916c1ec25244a09655bd1a3dcdf6cd54d2;hb=e1098dccba022441144bfc1c44a2b58db7dde34e;hp=fbddb20d3ddabaaba554b0a662c36beba77b0364;hpb=1a8450d4940e31424315290bec3139418aadd87c;p=clitk.git diff --git a/common/clitkImageCommon.h b/common/clitkImageCommon.h index fbddb20..32bba49 100644 --- a/common/clitkImageCommon.h +++ b/common/clitkImageCommon.h @@ -58,11 +58,11 @@ typename ImageType::Pointer readImage(const std::string & filename, const bool v template typename ImageType::Pointer readImage(const std::vector & filenames, const bool verbose=false); template -void writeImage(const typename ImageType::Pointer image, const std::string & filename, const bool verbose=false); +void writeImage(const typename ImageType::Pointer image, const std::string & filename, const bool verbose=false, const bool compression=false); // template // void writeConstImage(const typename ImageType::ConstPointer image, const std::string & filename, const bool verbose=false); template -void writeImage(const ImageType* image, const std::string & filename, const bool verbose=false); +void writeImage(const ImageType* image, const std::string & filename, const bool verbose=false, const bool compression=false); //-------------------------------------------------------------------- // Read/print image header