[ITK] [ITK-users] Segfault in Wiki Example: QuadEdgeMeshParameterizationFilter

Arnaud Gelas arnaudgelas at gmail.com
Tue Jun 9 08:09:57 EDT 2015


Davis,

> On 09 Jun 2015, at 13:30, DVigneault <davis.vigneault at gmail.com> wrote:
> 
> Arnaud--
> 
> Thanks again for the patches, and also the link to the wiki example!  The
> link to your insight submission was especially helpful [1].
> 
> Once you're parameterized the mesh, is there any way to invert the
> transform?  That is, can you either (a) given a position on the
> parameterized mesh, find the corresponding position on the original mesh or


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)

	http://www.insight-journal.org/browse/publication/851 <http://www.insight-journal.org/browse/publication/851>

Then, you compute the barycentric coordinate of that point in that triangle in 2D,
you use the same barycentric coordinate on corresponding points in 3D to get the final point.


> (b) after modifying the parameterized mesh, transform it back to the
> original mesh space?  


You would use exactly the same approach as mentioned above

HTH

> An example of what I'm talking about is on page 15 of
> "Surface Parameterization: A Tutorial and Survey" [2], referenced in your
> article ("remeshing").  I've looked through the public member functions of
> ParameterizationQuadEdgeMeshFilter [3] and BorderQuadEdgeMeshFilter [4] but
> haven't found anything that looks like it provides the functionality.
> 
> Best, and thanks again,
> 
> --Davis
> 
> [1] http://www.insight-journal.org/browse/publication/202
> [2] http://vcg.isti.cnr.it/Publications/2005/FH05/survey_mingle04.pdf
> [3]
> http://www.itk.org/Doxygen/html/classitk_1_1ParameterizationQuadEdgeMeshFilter.html
> [4]
> http://www.itk.org/Doxygen/html/classitk_1_1BorderQuadEdgeMeshFilter.html
> 
> 
> 
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Segfault-in-Wiki-Example-QuadEdgeMeshParameterizationFilter-tp7587442p7587459.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150609/cca6ce35/attachment.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list