]> Creatis software - clitk.git/blobdiff - vv/vvImageReader.txx
Account for transform when updating display extent of vf, fusion and overlay
[clitk.git] / vv / vvImageReader.txx
index 2ebec0e44579193b53521b18bcad0827aa2b5056..3c5e1545878b27511d100c559db30a1c2f473dbf 100644 (file)
@@ -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<class InputPixelType, unsigned int VImageDimension>
 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<std::string>::const_iterator i=mInputFilenames.begin(); i!=mInputFilenames.end(); i++) {
       typedef itk::Image< InputPixelType, VImageDimension-1 > InputImageType;
       typedef itk::ImageFileReader<InputImageType> ReaderType;