[vtkusers] InverseTransformPoint: no convergence in Thin-Plate Spline
Hengda He
hh2699 at columbia.edu
Tue May 22 13:09:32 EDT 2018
Hi David
Thank you very much for the reply!
Now I am wondering what's the difference between these two ways of using
vtkThinPlateSplineTransform:
(1) Getting vtkThinPlateSplineTransform and then inverse
transform->SetSourceLandmarks( sourcepoints );
transform->SetTargetLandmarks( targetpoints );
transform->Inverse();
And apply the transform to source image using vtkImageReslice
(2) Getting inverse vtkThinPlateSplineTransform directly
transform->SetSourceLandmarks( targetpoints );
transform->SetTargetLandmarks( sourcepoints );
And apply the transform to source image using vtkImageReslice
When I tried the first one, "InverseTransformPoint: no convergence" happens
and its very likely because that we have too many landmarks. And when I
tried the second one, there are many voxels clearly outside the boundary in
the deformed volume which is wrong. I am using vtkThinPlateSplineTransform
in 3D on binary images. Any help would be appreciated!
Best,
Hengda
--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
More information about the vtkusers
mailing list