X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkImageToImageGenericFilter.txx;fp=common%2FclitkImageToImageGenericFilter.txx;h=fe34518262ca3cecc4e738494d5018ef022c7f69;hb=ec98e4a8aed11c9daa9bd7e2439d1ac489c933c7;hp=6d2a7cd32df402039a9487b4c00a27b46c5e72b0;hpb=55575d2a73ceb9f017f6e6c28298cbacaf002792;p=clitk.git diff --git a/common/clitkImageToImageGenericFilter.txx b/common/clitkImageToImageGenericFilter.txx index 6d2a7cd..fe34518 100644 --- a/common/clitkImageToImageGenericFilter.txx +++ b/common/clitkImageToImageGenericFilter.txx @@ -3,8 +3,8 @@ Program: vv Module: $RCSfile: clitkImageToImageGenericFilter.txx,v $ Language: C++ - Date: $Date: 2010/03/02 13:28:42 $ - Version: $Revision: 1.8 $ + Date: $Date: 2010/03/24 20:35:08 $ + Version: $Revision: 1.9 $ Author : Joel Schaerer David Sarrut @@ -117,9 +117,9 @@ std::string clitk::ImageToImageGenericFilter::GetAvailableImageTypes i++) { for (MCompItType j=(*i).second.begin(); j!= (*i).second.end(); j++) { for (MPixelItType k=(*j).second.begin(); k!= (*j).second.end(); k++) { - oss << "Dim: " << (*i).first - << ", Components: " << (*j).first - << ", Type: " << (*k).first << std::endl; + oss << "Dim: " << (*i).first; + if ((*j).first != 1) oss << ", Components: " << (*j).first; + oss << ", Type: " << (*k).first << std::endl; } } }