]> Creatis software - clitk.git/blobdiff - common/vvImageReader.txx
Remove ITK3 and ITK4.2 tests and dependencies
[clitk.git] / common / vvImageReader.txx
index a797bf465bb9f0c9103aac948bbdab4586e5ba65..551e42626ba7313a84bb687f2fe8322c78d93962 100644 (file)
@@ -121,9 +121,7 @@ void vvImageReader::UpdateWithDimAndInputPixelType()
     filter->SetExtractionRegion(extractedRegion);
     filter->SetInput(reader->GetOutput());
     filter->ReleaseDataFlagOn();
-#if ITK_VERSION_MAJOR == 4
     filter->SetDirectionCollapseToSubmatrix();
-#endif
     try {
       mImage->AddItkImage<SlicedImageType>(filter->GetOutput());
       mImage->ComputeScalarRangeBase<InputPixelType, VImageDimension-1>(filter->GetOutput());