X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkMergeSequenceGenericFilter.cxx;h=90f65a517b3d9a15678c0bf4ff9db85924769742;hb=c6cfe978c3144fea4d6e3432d6f2fbd802956bd0;hp=b29ca8267aa1505d7db86209e8fff35f67590522;hpb=a26cd8a19e1b9ad8344ab501436045f171a73713;p=clitk.git diff --git a/tools/clitkMergeSequenceGenericFilter.cxx b/tools/clitkMergeSequenceGenericFilter.cxx old mode 100755 new mode 100644 index b29ca82..90f65a5 --- a/tools/clitkMergeSequenceGenericFilter.cxx +++ b/tools/clitkMergeSequenceGenericFilter.cxx @@ -3,7 +3,7 @@ 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 @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef CLITKMERGESEQUENCEGENERICFILTER_CXX #define CLITKMERGESEQUENCEGENERICFILTER_CXX #include "clitkMergeSequenceGenericFilter.h" @@ -34,16 +34,15 @@ namespace clitk { //Get the image Dimension and PixelType int Dimension, Components; std::string PixelType; - + clitk::ReadImageDimensionAndPixelType(m_InputNames[0], Dimension, PixelType, Components); if(Dimension==2) UpdateWithDim<2>(PixelType, Components); else if(Dimension==3) UpdateWithDim<3>(PixelType, Components); - else - { - std::cout<<"Error, Only for 2 and 3 Dimensions!!!"<