[vtkusers] more local control for thin plate transform

Qing Hu qing-hu.liao at polymtl.ca
Sat Mar 6 13:06:40 EST 2004


ok, after a little longer consideration, I think you can do this by the
following way.


(1) add the scalar attribute to each points of the mesh. for example, 
"-1" to the points which should be deformed, "1" to the points which
will not changed. 

(2) using the "vtkThinPlateSplineTransform" to deform your mesh.

(3) Combine the transformed mesh with the original mesh, just a little
programming need to do to merge these two model according their points'
scalar value.

I hope I have make my words clear. good luck :)


On Fri, 2004-03-05 at 00:35, mail.ru wrote:
> Hello Qing,
> 
> []
> 
> Thanks for answer.
> 
> QH> it is a good idea to add more additional landmark points.
> 
> I'm afraid that these points maybe very many (~500-600), so TPS algo
> will consume mauch time.
> I have idea to split shape into two parts: one - to deform and
> another - a part that will stay unchanged. And then merge them.
> But I don't know how to realize that...
-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Qinghu Liao                                           +
+ LIV4D, Polytechnique, University of Montreal          +
+ Montreal, Quebec, CANADA                              + 
+ qing-hu.liao at polytml.ca, qhliaok at hotmail.com          +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++




More information about the vtkusers mailing list