<div dir="ltr"><div><div><div>Hey Matt,<br><br></div>Sorry to re-visit this specific email... in your message, you said:<br><br>"The displacement fields output of ITK's deformable image registration<br>
represent the displacement of a point in the FixedImage to a point in<br>
the MovingImage.  Therefore overlaying the displacement field vector<br>
glyphs on the FixedImage should give the correct visualization.  The<br>
start of the arrow sits on its location in the input FixedImage, and<br>
the tip of the arrow glyphs are directed towards where a given pixel<br>
in the FixedImage will move to in the MovingImage."<br><br></div>However, in the Demons examples that are built with the ITK package, an 'output' image from the registration is produced by passing the <b>movingImage</b> into the WarpImageFilter, and utilizing the newly created deformation field. This makes it seem like the deformation field actually takes the movingImage form into the fixedImage form, not the other way around.<br>
<br></div>I really appreciate all your help thus far.. could you comment on this aspect of the non-rigid methods?<br><br>Thanks again,<br><br>Tim<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 4, 2013 at 11:14 PM, Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tim,<br>
<br>
The displacement fields output of ITK's deformable image registration<br>
represent the displacement of a point in the FixedImage to a point in<br>
the MovingImage.  Therefore overlaying the displacement field vector<br>
glyphs on the FixedImage should give the correct visualization.  The<br>
start of the arrow sits on its location in the input FixedImage, and<br>
the tip of the arrow glyphs are directed towards where a given pixel<br>
in the FixedImage will move to in the MovingImage.<br>
<br>
Hope this helps,<br>
Matt<br>
<div class="im HOEnZb"><br>
On Mon, Oct 21, 2013 at 6:39 PM, Tim Bhatnagar <<a href="mailto:tim.bhatnagar@gmail.com">tim.bhatnagar@gmail.com</a>> wrote:<br>
</div><div class="HOEnZb"><div class="h5">> Hello all,<br>
><br>
> Has anyone used Paraview to visualize Deformable Registration Displacement<br>
> fields in Paraview? I am having trouble verifying what exactly paraview is<br>
> showing me. A point (x,y,z) where I know a large y-deformation occurs does<br>
> not exhibit that vector magnitude in Paraview, but it DOES seem to exist at<br>
> a spatial coordinate that corresponds to where the large deformation ENDS<br>
> (ie where the (x,y,z) point is located AFTER registration).<br>
><br>
> Between this, and 'flipping' the x- and y- components of the vectors in the<br>
> displacement field, I have managed to become very confused about the proper<br>
> way to visualize the data.<br>
><br>
> Note that after using WarpImageFilter with my registration-produced<br>
> displacement field, I get the registered output I was looking for (yay!).<br>
> It's just visualizing the proper deformation field for visual/qualitative<br>
> figures is completely eluding me.<br>
><br>
> Any help is greatly appreciated, though I feel like my emails in this<br>
> user-list not up to par in terms of how I describe my problem, or the<br>
> information I pass along is not enough to have an experienced ITKer chime<br>
> in. If this is the case, please tell me what other info you need,as I'm<br>
> happy to provide it.<br>
><br>
> Alternatively, if it's best I address this to a Paraview-users community, I<br>
> can try that. I just figured anyone who used Demons in ITK would most likely<br>
> also visualize the field..<br>
><br>
> Thanks,<br>
> --<br>
> Tim Bhatnagar<br>
> PhD Candidate<br>
> Orthopaedic Injury Biomechanics Group<br>
> Department of Mechanical Engineering<br>
> University of British Columbia<br>
><br>
> Rm 5000 - 818 West 10th Ave.<br>
> Vancouver, BC<br>
> Canada<br>
> V5Z 1M9<br>
><br>
> Ph: (604) 675-8845<br>
> Fax: (604) 675-8820<br>
> Web: <a href="http://oibg.mech.ubc.ca" target="_blank">oibg.mech.ubc.ca</a><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
> _______________________________________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org">Community@itk.org</a><br>
> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Tim Bhatnagar<br>PhD Candidate<br>Orthopaedic Injury Biomechanics Group<br>Department of Mechanical Engineering<br>University of British Columbia<br><br>Rm 5000 - 818 West 10th Ave.<br>
Vancouver, BC<br>Canada<br>V5Z 1M9<br><br>Ph: (604) 675-8845<br>Fax: (604) 675-8820<br>Web: <a href="http://oibg.mech.ubc.ca" target="_blank">oibg.mech.ubc.ca</a><br>
</div>