[Insight-users] deformation field

Vidya Rajagopalan vidyaraj at vt.edu
Tue Nov 4 08:40:20 EST 2008


Ming,

I have already filed a bug report for this one 
(http://www.itk.org/Bug/view.php?id=7242).  For now, I think we can use 
this work around.

Vidya

Ming Chao wrote:
> Hi Vidya,
>
> Your solution did the trick. Surprisingly, nobody from ITK realized 
> that? It has been a problem which bothered me for so long time. 
>
> Thanks so much for your help,
> Ming
>
>
> On Mon, Nov 3, 2008 at 12:52 PM, Vidya Rajagopalan <vidyaraj at vt.edu 
> <mailto:vidyaraj at vt.edu>> wrote:
>
>     Hello Ming,
>
>     VTK sometimes has problems with deformation fields generated in ITK
>     (*.vtk format). VTK sometimes cannot read the header output by ITK. If
>     you are saving the deformation fields as *.vtk files, trying
>     saving them
>     as *.mha. This has worked for me in the past.
>     GoodLuck,
>     Vidya Rajagopalan
>     Virginia Tech
>
>     > Message: 2
>     > Date: Mon, 3 Nov 2008 09:23:28 -0600
>     > From: "Ming Chao" <mingchao2005 at gmail.com
>     <mailto:mingchao2005 at gmail.com>>
>     > Subject: [Insight-users] Fwd: deformation field
>     > To: "Insight Users" <insight-users at itk.org
>     <mailto:insight-users at itk.org>>,  "Luis Ibanez"
>     >       <luis.ibanez at kitware.com <mailto:luis.ibanez at kitware.com>>
>     > Message-ID:
>     >      
>     <c45aaa1c0811030723y39885c1dxfd794da1c36a09a6 at mail.gmail.com
>     <mailto:c45aaa1c0811030723y39885c1dxfd794da1c36a09a6 at mail.gmail.com>>
>     > Content-Type: text/plain; charset="iso-8859-1"
>     >
>     > Last week, I posted this problem when using deformation in ITK.
>     Nobody
>     > looked into the problem. Luis, could you please help?
>     > Thanks very much,
>     > Ming
>     >
>     >
>     > ---------- Forwarded message ----------
>     > From: Ming Chao <mingchao2005 at gmail.com
>     <mailto:mingchao2005 at gmail.com>>
>     > Date: Tue, Oct 28, 2008 at 11:15 AM
>     > Subject: deformation field
>     > To: Insight Users <insight-users at itk.org
>     <mailto:insight-users at itk.org>>
>     >
>     >
>     > Hi
>     > I have a new problem with generating a deformation field and
>     reading in the
>     > same field. I did an experiment. Use BSpline model to generate a
>     deformation
>     > field. The displacements of the grid points are assigned values
>     from random
>     > numbers. The generation of the deformable deformation field is fine.
>     > However, when I tried to read in the field with an
>     deformationFieldReader,
>     > it takes forever to read in the generated field...
>     >
>     > I am using ITK 3.8.0 and VTK 5.2.0. <http://5.2.0.> The compiler
>     is Visual Studio 7 .Net.
>     > The same code was used with Visual Studio 6 and earlier version
>     of ITK and
>     > VTK. It was fine at the time.
>     >
>     > What is wrong here?
>     >
>     > Thanks,
>     > -------------- next part --------------
>     > An HTML attachment was scrubbed...
>     > URL:
>     <http://www.itk.org/pipermail/insight-users/attachments/20081103/62050c58/attachment-0001.htm>
>     >
>     > ------------------------------
>     >
>     > _______________________________________________
>     > Insight-users mailing list
>     > Insight-users at itk.org <mailto:Insight-users at itk.org>
>     > http://www.itk.org/mailman/listinfo/insight-users
>     >
>     >
>     > End of Insight-users Digest, Vol 55, Issue 4
>     > ********************************************
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081104/1622f7ce/attachment.htm>


More information about the Insight-users mailing list