X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkImageCommon.cxx;h=c9085c66a3d38d93109f0d29b9c8c6f31a7ba53f;hb=fe61abeb6e452e5f54bef60a287aa104e4e02d70;hp=45dfa0d319909fa6dae98f6d287c098059cf5bf2;hpb=e6add2e56013846bcf4368013c4aaf4eb36991ec;p=clitk.git diff --git a/common/clitkImageCommon.cxx b/common/clitkImageCommon.cxx index 45dfa0d..c9085c6 100644 --- a/common/clitkImageCommon.cxx +++ b/common/clitkImageCommon.cxx @@ -129,7 +129,11 @@ void clitk::printImageHeader(itk::ImageIOBase::Pointer header, std::ostream & os << " "; for(unsigned int i=0; i< dim-1; i++) os << inputSpacing[i] << "x"; - os << inputSpacing[dim-1]; + os << inputSpacing[dim-1] + << " "; + for(unsigned int i=0; i< dim-1; i++) + os << inputOrigin[i] << "x"; + os << inputOrigin[dim-1] << " "; } else { os << "Dim = " << dim << "D" << std::endl;