X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvFromITK.h;h=f1d548cd0d7f0b935aaf486bae78f15720601d33;hb=765020625fbc092d283e221e36c83e60a1844cb7;hp=5a00f65d1220ae87964dd27a45fa74927a14761b;hpb=573d80d0f7a17607d2ee883c21c940c0ba020282;p=clitk.git diff --git a/common/vvFromITK.h b/common/vvFromITK.h index 5a00f65..f1d548c 100644 --- a/common/vvFromITK.h +++ b/common/vvFromITK.h @@ -54,6 +54,7 @@ template vvImage::Pointer vvImageFromITK(type extractedRegion.SetIndex(start); typename FilterType::Pointer filter = FilterType::New(); + filter->SetDirectionCollapseToSubmatrix(); filter->SetExtractionRegion(extractedRegion); filter->SetInput(input); filter->ReleaseDataFlagOn();