X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageWriter.txx;h=35e5790c27dac6129000cc04cae4c7dd7615fb02;hb=10ec7dc09aeea303fdc6a30449ec69de2f2ccd88;hp=8d9187c016a4627a6b921d03ffe57bf15702bb97;hpb=931a42358442f4ee4f314613c991c838d4b4e3b7;p=clitk.git diff --git a/vv/vvImageWriter.txx b/vv/vvImageWriter.txx index 8d9187c..35e5790 100644 --- a/vv/vvImageWriter.txx +++ b/vv/vvImageWriter.txx @@ -1,10 +1,7 @@ /*========================================================================= Program: vv - Module: $RCSfile: vvImageWriter.txx,v $ Language: C++ - Date: $Date: 2010/01/06 13:31:57 $ - Version: $Revision: 1.1 $ Author : Pierre Seroul (pierre.seroul@gmail.com) Copyright (C) 2008 @@ -38,6 +35,10 @@ void vvImageWriter::UpdateWithDim(std::string OutputPixelType) { UpdateWithDimAndOutputPixelType(); } + else if (OutputPixelType == "unsigned short") + { + UpdateWithDimAndOutputPixelType(); + } else if (OutputPixelType == "unsigned_short") { UpdateWithDimAndOutputPixelType();