<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
<br>
On 03/17/2010 02:27 PM, Arnaud GELAS wrote:
<blockquote cite="mid:4BA11F28.4010302@hms.harvard.edu" type="cite">
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
ooops, I pressed reply not reply all...<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject: </th>
<td>Re: [Insight-users] Few questions about quad edge mesh
filters</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
<td>Wed, 17 Mar 2010 14:26:21 -0400</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
<td>Arnaud GELAS <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:arnaud_gelas@hms.harvard.edu"><arnaud_gelas@hms.harvard.edu></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
<td>Andriy Fedorov <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="mailto:fedorov@bwh.harvard.edu"><fedorov@bwh.harvard.edu></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>On 03/17/2010 12:55 PM, Andriy Fedorov wrote:
> On Wed, Mar 17, 2010 at 12:07, Andriy Fedorov<a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:fedorov@bwh.harvard.edu"><fedorov@bwh.harvard.edu></a> wrote:
>
>> 1) the normals produced by QuadEdgeMesh are always (nan,nan,nan). I
>> saw the comment in the documentation, that the input and output mesh
>> traits should be the same for this filter to work, but this does not
>> seem to help.
>>
>>
> Update: this happens with the default (THURMER) weight type for
> normals calculation, because the weight is calculated to NaN. If I
> switch to GOURAUD or AREA weights, it seems to work.
>
I'll check that!
> By the way, the documentation does not mention what is the difference
> between the different normal calculation modes.
You're right, I should update the doxygen documentation to explain
differences between normal calculation modes.
> Is there an Insight
> Journal paper that lists the details?
>
Yes there is one insight journal paper where you will find references
for each method
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.insight-journal.org/browse/publication/303">http://www.insight-journal.org/browse/publication/303</a>
>
</pre>
</blockquote>
<br>
I have just updated the doxygen documentation of the class with all
formulas!<br>
<br>
I have also fixed the bug for the normal computation in the THURMER
case (normalizations were missing) leading to out-range values before
calling vcl_acos.<br>
I am now running an experimental build before submitting the changes.
You'll be able to get it in few minutes<br>
<br>
<blockquote cite="mid:4BA11F28.4010302@hms.harvard.edu" type="cite">
<pre>>
>> 2) whenever I am using QuadEdgeMeshQuadricDecimation, the decimated
>> surface is obviously incorrect
>> (QuadEdgeMeshSquaredEdgeLengthDecimation generates very nice surface).
>> Attached are screenshots for the MC surface, quadrics-decimated
>> surface, and squared edge decimation result
>>
>> Source code and test data: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://dl.dropbox.com/u/3770904/QuadEdgeTests.tgz">http://dl.dropbox.com/u/3770904/QuadEdgeTests.tgz</a>
>> Command line to reproduce the first problem (second issue can be
>> reproduced trivially by swapping the decimator): "QuadEdgeMeshTests
>> blob1.nrrd output_mesh.vtk 10"
>>
>> I see this problem both with the latest checkout of the 3.16 branch,
>> and with the current trunk build.
>>
>> Am I doing something wrong, or is this a bug?
>>
ok, I'll have a look that one too!
</pre>
</blockquote>
I am now looking at the decimation one!<br>
<br>
<blockquote cite="mid:4BA11F28.4010302@hms.harvard.edu" type="cite">
<pre>
>> Thanks
>>
>> Andriy Fedorov
>>
>>
> _____________________________________
> Powered by <a moz-do-not-send="true"
class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
>
> Visit other Kitware open-source projects at
> <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
>
> Kitware offers ITK Training Courses, for more information visit:
> <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a>
>
> Please keep messages on-topic and check the ITK FAQ at:
> <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a>
>
> Follow this link to subscribe/unsubscribe:
> <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a>
>
</pre>
</blockquote>
<br>
</body>
</html>