From 677f9f9f55d5f4d2667013cacd01c9d80b2259f2 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Wed, 9 Mar 2016 14:36:22 +0100 Subject: [PATCH] With the resample tool, ensure to have the same transformation after the resampling in vv --- vv/vvToolResample.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/vv/vvToolResample.cxx b/vv/vvToolResample.cxx index 46d54ef..64b3768 100644 --- a/vv/vvToolResample.cxx +++ b/vv/vvToolResample.cxx @@ -538,6 +538,7 @@ void vvToolResample::apply() // Go ! mFilter->Update(); mOutput = mFilter->GetOutputVVImage(); + mOutput->GetTransform()[0]->SetMatrix(mCurrentSlicerManager->GetSlicer(0)->GetConcatenatedTransform()->GetMatrix()); AddImage(mOutput,GetOutputFileName()); close(); } -- 2.45.1