<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif"><small>Hi Luis,<br>
<br>
Thanks for your suggestions, the deformable registration examples were
most helpful.<br>
<br>
However, I have found using only centerline target landmarks is not
sufficient. I must instead specify target landmarks tangential to the
path (see the below images):<small><br>
</small><a
href="https://fileshare.qut.edu.au/public/muellerd/Input.png">https://fileshare.qut.edu.au/public/muellerd/Input.png</a>
(test image)<br>
<a
href="https://fileshare.qut.edu.au/public/muellerd/CenterlineTarget.png">https://fileshare.qut.edu.au/public/muellerd/CenterlineTarget.png</a>
(target points along centerline) <br>
<a
href="https://fileshare.qut.edu.au/public/muellerd/CenterlineDeformed.png">https://fileshare.qut.edu.au/public/muellerd/CenterlineDeformed.png</a>
(result of deformation using centerline target points)<br>
</small></font><font face="Helvetica, Arial, sans-serif"><small><a
href="https://fileshare.qut.edu.au/public/muellerd/TangentTarget.png">https://fileshare.qut.edu.au/public/muellerd/TangentTarget.png</a></small></font><font
face="Helvetica, Arial, sans-serif"><small> (target points tangential
to path)</small></font><br>
<font face="Helvetica, Arial, sans-serif"><small> <a
href="https://fileshare.qut.edu.au/public/muellerd/TangentDeformed.png">https://fileshare.qut.edu.au/public/muellerd/TangentDeformed.png</a>
(result of deformation using tangential target points)<br>
<br>
Now all I need to do is make it n-dimensional friendly...<br>
<br>
Thanks again, Dan</small><small><small><br>
<br>
</small><br>
Luis Ibanez wrote:</small></font>
<blockquote cite="mid46AD1D68.5010605@kitware.com" type="cite"><font
face="Helvetica, Arial, sans-serif"><small><br>
Hi Dan,
<br>
<br>
<br>
Your suggestion seem to be a good way to go.
<br>
<br>
<br>
You can use any of the KernelTransforms along with
<br>
the ResampleImageFilter.
<br>
<br>
<br>
Just feed the TargetLandmarks array with the points
<br>
that you have in the center line of your vessel image.
<br>
<br>
Set the SourceLandmarks to be located in a simple
<br>
straight line.
<br>
<br>
<br>
Note that the "source" space is where the reformated
<br>
image will be created. Resampling is done by visiting
<br>
all the pixels in the "flattened" image and finding
<br>
their corresponding locations in the original image.
<br>
<br>
<br>
<br>
The followingg Examples can help you get started:
<br>
<br>
<br>
Insight/Examples/Registration/
<br>
ThinPlateSplineWarp.cxx
<br>
LandmarkWarping2.cxx
<br>
<br>
<br>
Note that if you want to see the deformation
<br>
field (e.g. using ParaView) you may want to
<br>
use the "itkDeformationFieldSource" class as
<br>
illustrated in the LandmarkWarping2.cxx
<br>
example.
<br>
<br>
<br>
<br>
This could be a nice paper
<br>
for the Insight Journal :-)
<br>
<br>
<br>
<br>
<br>
Regards,
<br>
<br>
<br>
Luis
<br>
<br>
<br>
--------------------
<br>
Dan Mueller wrote:
<br>
</small></font>
<blockquote type="cite"><font face="Helvetica, Arial, sans-serif"><small>Hi
all,
<br>
<br>
I am interested in visualizing vessels using curved planar reformatting
(CPR): the vessel is stretched flat along the centerline and the
surrounds deformed to accommodate.
<br>
<br>
Does ITK implement curved planar reformatting for 3-D images?
<br>
<br>
I have been unable to find any existing functions in ITK to achieve
this easily. The itkExtractOrthogonalSwath2DImageFilter is close, but
appears to only work on 2-D images. I suspect I might be able to use a
deformable transform coupled with the itkResampleImageFilter, but
obviously the difficulty is in specifying the transform kernel given an
itkPolyLineParametricPath. Currently I am able to extract paths
representing the centerlines, but I'm stuck as to where to go from
there. Does anyone have any pointers / ideas?
<br>
<br>
Thanks for any help.
<br>
<br>
Cheers, Dan
<br>
<br>
<br>
------------------------------------------------------------------------
<br>
<br>
_______________________________________________
<br>
Insight-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a>
</small></font></blockquote>
</blockquote>
</body>
</html>