[Insight-users] Re: question about the example of deformablemodel1
Luis Ibanez
luis.ibanez at kitware.com
Fri Jun 8 17:50:43 EDT 2007
Hi Lin,
If you want to deform a Mesh using an existing deformation field
(an image of Vectors), you may want to look at the WarpMeshFilter
http://www.itk.org/Insight/Doxygen/html/classitk_1_1WarpMeshFilter.html
Regards,
Luis
------------------
Lin, Lan wrote:
> I see. But if I want to use the deformation vector field from the
> registration, how can I deform the surface from the binary image? Can I
> do the following?
> Input binary image(3D)->generate the mesh(according to the
> deformablemodel1.cxx)->input the deformation vector field(from the
> registration result)->using the warpImageFilter(according to the
> WarpImageFilter1.cxx)->output the deformable mesh or deformable binary
> image?
> Actually I am thinking if the output is the deformed binary image, I
> lose the benefit of mesh or surface.
>
> -----Original Message-----
> From: Luis Ibanez [mailto:luis.ibanez at kitware.com]
> Sent: Monday, June 04, 2007 2:55 PM
> To: Lin, Lan; Insight Users
> Subject: Re: question about the example of deformablemodel1
>
>
> Hi Lin,
>
>
> Nope,
>
> The vector field used in the DeformableModel1.cxx example
> *is not* equivalent to the vector fields that result from
> a deformable registration method.
>
> Instead, it is equivalent to the *Advection field* that you will
> use in a LevelSet method. That is, this is a field that have
> vectors pointing to the boundaries of anatomical structures in
> the image, and whose magnitued are larger when you are closer to
> these boundaries.
>
>
>
> Regards,
>
>
>
> Luis
>
>
>
> =================
> Lin, Lan wrote:
>
>>Hi Dr Ibanez,
>>
>> I am just curious if we can replace the vector field in
>>deformablemodel1.cxx as the deformation field that is calculated from
>>any deformable registration method?
>>
>> From the figure 9.45 of the ItkSoftwareGuide2.4, there are two
>
>
>>things input into the deformable mesh filter. If I have the binary
>
> image
>
>>and the deformation field, can I directly connect these two components
>
>
>>to the deformable mesh filter? How?
>>
>>Thanks
>>
>>
>>
>> **Lan Lin**
>>
>>San Antonio, TX78229
>>
>>phone: (210)450-7556; fax: (210)616-5682
>>
>>
>>
>
>
More information about the Insight-users
mailing list