X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageReader.txx;h=3c5e1545878b27511d100c559db30a1c2f473dbf;hb=b9d8c9a9e84535e8de0b7e2a2f970af1442cd49b;hp=2ebec0e44579193b53521b18bcad0827aa2b5056;hpb=97e94d6d86e558d1d377486bf2db1549c06f4fd1;p=clitk.git diff --git a/vv/vvImageReader.txx b/vv/vvImageReader.txx index 2ebec0e..3c5e154 100644 --- a/vv/vvImageReader.txx +++ b/vv/vvImageReader.txx @@ -57,7 +57,7 @@ void vvImageReader::UpdateWithDim(std::string InputPixelType) std::cerr << "Error, input pixel type : " << InputPixelType << " unknown !" << std::endl; if (CLITK_EXPERIMENTAL && mLastError.size()==0) { - ReadNkiImageTransform(); + //ReadNkiImageTransform(); ReadMatImageTransform(); } } @@ -68,14 +68,12 @@ void vvImageReader::UpdateWithDim(std::string InputPixelType) template void vvImageReader::UpdateWithDimAndInputPixelType() { - - // DD(mType); - if (mType == MERGEDWITHTIME) // In this case we can load the images // one at the time to avoid excessive // memory use { mImage=vvImage::New(); + for (std::vector::const_iterator i=mInputFilenames.begin(); i!=mInputFilenames.end(); i++) { typedef itk::Image< InputPixelType, VImageDimension-1 > InputImageType; typedef itk::ImageFileReader ReaderType;