projects
/
clitk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7799c18
)
With the resample tool, ensure to have the same transformation after the resampling...
author
tbaudier
<thomas.baudier@creatis.insa-lyon.fr>
Wed, 9 Mar 2016 13:36:22 +0000
(14:36 +0100)
committer
tbaudier
<thomas.baudier@creatis.insa-lyon.fr>
Wed, 9 Mar 2016 13:36:22 +0000
(14:36 +0100)
vv/vvToolResample.cxx
patch
|
blob
|
history
diff --git
a/vv/vvToolResample.cxx
b/vv/vvToolResample.cxx
index 46d54efbca948587d3f995825dade7391e9822b5..64b3768bed771352d5c70ef44ce5d5dea84c500f 100644
(file)
--- 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();
}