X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvFromITK.h;h=a51cfe2d7c150caaf78f862b2ee0cda325d3e739;hb=refs%2Fheads%2Fwipe;hp=69e41a6da39cb4b76f49938d01baf3cb0f7fa3fa;hpb=ff4e821006c760607319ef7cc58dd9f4f17a7098;p=clitk.git diff --git a/common/vvFromITK.h b/common/vvFromITK.h index 69e41a6..a51cfe2 100644 --- a/common/vvFromITK.h +++ b/common/vvFromITK.h @@ -51,9 +51,7 @@ static inline void ReadTimeSequence (vvImage::Pointer& vv_image, typename itk::I extractedRegion.SetIndex(start); typename FilterType::Pointer filter = FilterType::New(); -#if ITK_VERSION_MAJOR == 4 filter->SetDirectionCollapseToSubmatrix(); -#endif filter->SetExtractionRegion(extractedRegion); filter->SetInput(input); filter->ReleaseDataFlagOn();