X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageWarp.cxx;h=2890ec8188efd8e22a98da6b5e6c0527bcac0272;hb=c99626f17e07dbde440eb40a25683ce441a49a6e;hp=904e4cb82d75e32ea7939f325250ec189397d630;hpb=44afe6c93f185da1ac0debc227105bf56404482e;p=clitk.git diff --git a/vv/vvImageWarp.cxx b/vv/vvImageWarp.cxx index 904e4cb..2890ec8 100644 --- a/vv/vvImageWarp.cxx +++ b/vv/vvImageWarp.cxx @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #include #include #include @@ -101,7 +101,7 @@ void vvImageWarp::Update_WithDimAndPixelType() jacobian_filter->SetUseImageSpacingOn(); vf_connector->SetInput(mVF->GetVTKImages()[num]); warp_filter->SetInput(input[num]); - warp_filter->SetDeformationField(vf_connector->GetOutput()); + warp_filter->SetDisplacementField(vf_connector->GetOutput()); jacobian_filter->SetInput(vf_connector->GetOutput()); warp_filter->SetOutputSpacing(input[num]->GetSpacing()); warp_filter->SetOutputOrigin(input[num]->GetOrigin());