<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
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 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 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 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 class="moz-txt-link-freetext" href="http://www.insight-journal.org/browse/publication/303">http://www.insight-journal.org/browse/publication/303</a>
>
>
>> 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 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!
>> Thanks
>>
>> Andriy Fedorov
>>
>>
> _____________________________________
> Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
>
> Visit other Kitware open-source projects at
> <a 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 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 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 class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a>
>
</pre>
</body>
</html>