<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Davis,<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 09 Jun 2015, at 13:30, DVigneault <<a href="mailto:davis.vigneault@gmail.com" class="">davis.vigneault@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Arnaud--<br class=""><br class="">Thanks again for the patches, and also the link to the wiki example! The<br class="">link to your insight submission was especially helpful [1].<br class=""><br class="">Once you're parameterized the mesh, is there any way to invert the<br class="">transform? That is, can you either (a) given a position on the<br class="">parameterized mesh, find the corresponding position on the original mesh or<br class=""></div></blockquote><div><br class=""></div><div><br class=""></div><div>Yes, you need to find in which triangle the point is in. You can have a look at this insight journal paper to do it efficiently (especially, if you need to compute it extensively)</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://www.insight-journal.org/browse/publication/851" class="">http://www.insight-journal.org/browse/publication/851</a></div><div><br class=""></div><div>Then, you compute the barycentric coordinate of that point in that triangle in 2D,</div><div>you use the same barycentric coordinate on corresponding points in 3D to get the final point.</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class="">(b) after modifying the parameterized mesh, transform it back to the<br class="">original mesh space? </div></blockquote><div><br class=""></div><div><br class=""></div><div>You would use exactly the same approach as mentioned above</div><div><br class=""></div>HTH</div><div><br class=""><blockquote type="cite" class=""><div class="">An example of what I'm talking about is on page 15 of<br class="">"Surface Parameterization: A Tutorial and Survey" [2], referenced in your<br class="">article ("remeshing"). I've looked through the public member functions of<br class="">ParameterizationQuadEdgeMeshFilter [3] and BorderQuadEdgeMeshFilter [4] but<br class="">haven't found anything that looks like it provides the functionality.<br class=""><br class="">Best, and thanks again,<br class=""><br class="">--Davis<br class=""><br class="">[1] <a href="http://www.insight-journal.org/browse/publication/202" class="">http://www.insight-journal.org/browse/publication/202</a><br class="">[2] <a href="http://vcg.isti.cnr.it/Publications/2005/FH05/survey_mingle04.pdf" class="">http://vcg.isti.cnr.it/Publications/2005/FH05/survey_mingle04.pdf</a><br class="">[3]<br class=""><a href="http://www.itk.org/Doxygen/html/classitk_1_1ParameterizationQuadEdgeMeshFilter.html" class="">http://www.itk.org/Doxygen/html/classitk_1_1ParameterizationQuadEdgeMeshFilter.html</a><br class="">[4]<br class="">http://www.itk.org/Doxygen/html/classitk_1_1BorderQuadEdgeMeshFilter.html<br class=""><br class=""><br class=""><br class="">--<br class="">View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Segfault-in-Wiki-Example-QuadEdgeMeshParameterizationFilter-tp7587442p7587459.html<br class="">Sent from the ITK Insight Users mailing list archive at Nabble.com.<br class="">_____________________________________<br class="">Powered by www.kitware.com<br class=""><br class="">Visit other Kitware open-source projects at<br class="">http://www.kitware.com/opensource/opensource.html<br class=""><br class="">Kitware offers ITK Training Courses, for more information visit:<br class="">http://www.kitware.com/products/protraining.php<br class=""><br class="">Please keep messages on-topic and check the ITK FAQ at:<br class="">http://www.itk.org/Wiki/ITK_FAQ<br class=""><br class="">Follow this link to subscribe/unsubscribe:<br class="">http://public.kitware.com/mailman/listinfo/insight-users<br class=""></div></blockquote></div><br class=""></div></body></html>