[Insight-users] Re: retrieve displacement vector from a deformation field

Ming Chao mingchao2005 at gmail.com
Wed Dec 13 15:30:20 EST 2006


It appears it is as simple as the following:

displacement = deformationField->GetPixel(index);

GexPixel returns TPixel type which I guess can be a vector type as well,
since the displacement vector looks correct to me.

Ming



On 12/13/06, Ming Chao <mingchao2005 at gmail.com> wrote:
>
> Hi,
> Is there a simple way to retrieve the displacement vector from a
> deformation field at a point where the index is known?
> Thanks,
> Ming
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20061213/ce4462da/attachment.htm


More information about the Insight-users mailing list