[Insight-users] LineSpatialObject: problem with applying a transformation

Luis Ibanez luis.ibanez at kitware.com
Fri Mar 23 13:46:18 EST 2007


Hi Igor,


If your line is only 1-pixel wide, it can easily get lost in the
interpolation and the transformation of point locations through
the BSPlineDeformableTransform.

You may want to use a very thick line, or a pattern that fills in
the entire image.

For examples on how to visualize the effect of deformable registration,
please look at the ITK Software Guide.

     http://www.itk.org/ItkSoftwareGuide.pdf


in particular to section 8.15 "Visualizing Deformation Fields" in
pdf-pages 501-508.


    Regards,



       Luis



-------------------
Hoveijn, I wrote:
> Dear ITK-users,
> 
> I am using BSplineDeformableTransform to find a transformation form one
> image to another. Then I would like to use the transformation to map a
> line in the first image to a line in the second image. By analogy I cut
> and pasted the code below. Everything works fine except transforming the
> line. Please let me know if more details are needed. I would be grateful
> if someone could help me.
> 
> Remark. The header of the procedure may look strange. This code is
> compiled and linked into a dll file and then called form Matlab.
> 
> Igor Hoveijn
> 
> 
> 
> 


More information about the Insight-users mailing list