<font style="color: rgb(0, 0, 0);" size="2"><span>你好</span>阿尔赛斯</font>,<br><br>(Next time you may have more luck sending your VTK questions to &lt;<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&gt;.)<br>

<br>To retrieve the geometry and topology information from a vtkPolyData you can do something like this:<br>
<br>double pt[3];<br>vtkIdType npts, *pts;<br><br>int numPts = myPolyData-&gt;GetNumberOfPoints();<br><div id=":5j" class="ii gt"><br>for (int i=0; i &lt; numPts; i++)<br>{<br>&nbsp; myPolyData-&gt;GetPoint(m,pt);<br>&nbsp;
std::cout &lt;&lt; &quot;point with index &quot; &lt;&lt; i &lt;&lt; &quot;: (&quot;
&lt;&lt; pt[0] &lt;&lt; &quot; &quot; &lt;&lt; pt[1] &lt;&lt; &quot; &quot; &lt;&lt; pt[2]
&lt;&lt; &quot;)&quot; &lt;&lt; std::endl;<br>
}<br><br>myPolyData-&gt;GetCells()-&gt;InitTraversal();<br><br>while (myPolyData-&gt;GetCells()-&gt;GetNextCell(npts,pts))<br>{<br>&nbsp; std::cout &lt;&lt; &quot;cell has &quot; &lt;&lt; npts &lt;&lt; &quot; points with indices:&quot;;<br>


<br>&nbsp; for (int i=0; i &lt; npts; i++)<br>&nbsp; {<br>&nbsp;&nbsp;&nbsp; std::cout &lt;&lt; &quot; &quot; &lt;&lt; pts[i];<br>&nbsp; }<br><br>&nbsp; std::cout &lt;&lt; std::endl;<br>}<br><br>You might need to try and compile this code as I have just typed it into GMail without compiling.<br>


<br>Regards,<br>Sylvain</div><br><br><div class="gmail_quote">2010/2/2 阿尔赛斯 <span dir="ltr">&lt;<a href="mailto:wu.yichao2727@gmail.com">wu.yichao2727@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div style="font-family: Verdana; font-size: 14px; color: rgb(0, 0, 0);"><div>Hello:</div><div>I&nbsp;have&nbsp;a&nbsp;question&nbsp;to&nbsp;ask.&nbsp;How&nbsp;can&nbsp;I&nbsp;read&nbsp;the&nbsp;Triangle&nbsp;information(include&nbsp;triangle&nbsp;vertices,points,size&nbsp;of&nbsp;points,&nbsp;etc)&nbsp;in&nbsp;vtkPolyData&nbsp;or&nbsp;in&nbsp;vtkCellArray,because&nbsp;I&nbsp;want&nbsp;to&nbsp;build&nbsp;the&nbsp;model&nbsp;by&nbsp;my&nbsp;code&nbsp;rather&nbsp;than&nbsp;vtkOBJExporter.</div>

<div style="color: rgb(0, 0, 0);"><div>&nbsp;</div><div>&nbsp;</div><div style="padding: 2px 0pt; font-size: 12px; font-family: Arial Narrow;">------------------&nbsp;Original&nbsp;------------------</div><div style="font-size: 12px;"><div>
<b>From:</b> &quot;insight-users-request&quot;&lt;<a href="mailto:insight-users-request@itk.org" target="_blank">insight-users-request@itk.org</a>&gt;;</div>
<div><b>Date:</b> 2010年2月2日(星期二) 下午4:10</div><div><b>To:</b> &quot;insight-users&quot;&lt;<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>&gt;;</div><div><b>Subject:</b> Insight-users Digest, Vol 70, Issue 5</div>

</div><div>&nbsp;</div><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td style="padding: 0px; font-size: 14px;" valign="top">Send Insight-users mailing list submissions to<br>&nbsp;&nbsp;&nbsp; <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>

&nbsp;&nbsp;&nbsp; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>or, via email, send a message with subject or body &#39;help&#39; to<br>&nbsp;&nbsp;&nbsp; <a href="mailto:insight-users-request@itk.org" target="_blank">insight-users-request@itk.org</a><br>

<br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp; <a href="mailto:insight-users-owner@itk.org" target="_blank">insight-users-owner@itk.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>

than &quot;Re: Contents of Insight-users digest...&quot;<br><br><br>Today&#39;s Topics:<br><br>&nbsp;&nbsp; 1. Re: typedef name cannot follow class/struct/union<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Neil.Burdett@csiro.au)<br>&nbsp;&nbsp; 2. Re: typedef name cannot follow class/struct/union (Bill Lorensen)<br>

&nbsp;&nbsp; 3. Re: typedef name cannot follow class/struct/union (Andreas Schuh)<br>&nbsp;&nbsp; 4. Re: Question about CMake_CXX_Compiler (Yang, Jinzhong)<br>&nbsp;&nbsp; 5. Parametric vs. Non-parametric image registration? (motes motes)<br>&nbsp;&nbsp; 6. Re: Parametric vs. Non-parametric image registration?<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Lodron, Gerald)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Tue, 2 Feb 2010 15:20:30 +1100<br>From: &lt;Neil.Burdett@csiro.au&gt;<br>Subject: Re: [Insight-users] typedef name cannot follow<br>

&nbsp;&nbsp;&nbsp; class/struct/union<br>To: &lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;, &lt;<a href="mailto:dan.muel@gmail.com" target="_blank">dan.muel@gmail.com</a>&gt;<br>Cc: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>

Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a href="mailto:6FACAC4CD9615D41B1FE8171A60CB98AB25DE6C297@EXNSW-MBX03.nexus.csiro.au" target="_blank">6FACAC4CD9615D41B1FE8171A60CB98AB25DE6C297@EXNSW-MBX03.nexus.csiro.au</a>&gt;<br>&nbsp;&nbsp;&nbsp; <br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>

<br>Hi Bill and Dan,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; thanks for the reply, but removing typename, or replacing it with ITK_TYPENAME gives exactly the same error in visual studio 2008;<br><br>&quot;error C2242: typedef name cannot follow class/struct/union&quot;<br>

<br>The full extract of code I&#39;m using is;<br><br>&nbsp; // Compute the seed image, by closing cavities and holes with an ultimate skeleton of the cuboid image<br>&nbsp; typedef typename itk::UltimateSkeletonImageFilter&lt;TOutputImage, TOutputImage, itk::Connectivity&lt;Dimension, 0&gt;, DistanceImageType &gt; SeedSkeletonFilterType;<br>

&nbsp; itk::UltimateSkeletonImageFilter&lt;TOutputImage, TOutputImage, itk::Connectivity&lt;Dimension, 0&gt;, DistanceImageType &gt; SeedSkeletonFilterType;<br><br>&nbsp; typename SeedSkeletonFilterType::Pointer seedSkeletonFilter = SeedSkeletonFilterType::New();<br>

&nbsp; seedSkeletonFilter-&gt;SetInput(cuboidImage-&gt;GetOutput());<br>&nbsp; seedSkeletonFilter-&gt;SetPriorityImage(distanceInvertIntensityFilter-&gt;GetOutput());<br>&nbsp; seedSkeletonFilter-&gt;SetInhibitImage(parallelSkeletonFilter-&gt;GetOutput());<br>

&nbsp; try{<br>&nbsp;&nbsp;&nbsp; seedSkeletonFilter-&gt;Update();<br>&nbsp; } catch(itk::ExceptionObject &amp;ex) {<br>&nbsp;&nbsp;&nbsp; throw itk::ExceptionObject(&quot;milxTopologicalHolesFilling&quot;, 0, std::string(&quot;Topological holes filling.. seed ultimate skeleton failed: &quot;) + ex.GetDescription());<br>

&nbsp; }<br><br>Neil<br><br>-----Original Message-----<br>From: Bill Lorensen [mailto:<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>] <br>Sent: Monday, 1 February 2010 11:46 PM<br>To: Burdett, Neil (ICT Centre, Herston - RBWH)<br>

Cc: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>Subject: Re: [Insight-users] typedef name cannot follow class/struct/union<br><br>I think the typename can be removed on both Windows and linux. My<br>

general rule for typename is that it is required if there are no<br>template variables.<br><br>For example<br><br>typedef Foo&lt;bar&gt; FooBarType;<br><br>typedef typename Foo::Pointer FooPointer;<br><br>On Sun, Jan 31, 2010 at 11:39 PM,&nbsp; &lt;Neil.Burdett@csiro.au&gt; wrote:<br>

&gt; Hi,<br>&gt;<br>&gt; ??? I am currently porting an application from Ubuntu to windows. The line<br>&gt; of code below compiles on Ubuntu but not on visual studio...<br>&gt;<br>&gt;<br>&gt;<br>&gt; ? typedef typename itk::UltimateSkeletonImageFilter&lt;TOutputImage,<br>

&gt; TOutputImage, itk::Connectivity&lt;Dimension, 0&gt;, DistanceImageType &gt;<br>&gt; SeedSkeletonFilterType;<br>&gt;<br>&gt;<br>&gt;<br>&gt; I receive the error in visual studio 2008 &quot;error C2242: typedef name cannot<br>

&gt; follow class/struct/union&quot;<br>&gt;<br>&gt;<br>&gt;<br>&gt; Any help would be appreciated.<br>&gt;<br>&gt;<br>&gt;<br>&gt; Neil<br>&gt;<br>&gt; _____________________________________<br>&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>

&gt;<br>&gt; Visit other Kitware open-source projects at<br>&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>&gt;<br>&gt; Kitware offers ITK Training Courses, for more information visit:<br>

&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>&gt;<br>&gt; Please keep messages on-topic and check the ITK FAQ at:<br>&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>

&gt;<br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>&gt;<br>&gt;<br><br><br>

------------------------------<br><br>Message: 2<br>Date: Mon, 1 Feb 2010 23:46:37 -0500<br>From: Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;<br>Subject: Re: [Insight-users] typedef name cannot follow<br>

&nbsp;&nbsp;&nbsp; class/struct/union<br>To: Neil.Burdett@csiro.au<br>Cc: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a href="mailto:4db4735c1002012046g253b8d02t7fc86b3387885728@mail.gmail.com" target="_blank">4db4735c1002012046g253b8d02t7fc86b3387885728@mail.gmail.com</a>&gt;<br>

Content-Type: text/plain; charset=ISO-8859-1<br><br>Delete this line:<br>&nbsp;itk::UltimateSkeletonImageFilter&lt;TOutputImage, TOutputImage,<br>itk::Connectivity&lt;Dimension, 0&gt;, DistanceImageType &gt;<br>SeedSkeletonFilterType;<br>

<br><br>On Mon, Feb 1, 2010 at 11:20 PM,&nbsp; &lt;Neil.Burdett@csiro.au&gt; wrote:<br>&gt; Hi Bill and Dan,<br>&gt; ? ? ? ?thanks for the reply, but removing typename, or replacing it with ITK_TYPENAME gives exactly the same error in visual studio 2008;<br>

&gt;<br>&gt; &quot;error C2242: typedef name cannot follow class/struct/union&quot;<br>&gt;<br>&gt; The full extract of code I&#39;m using is;<br>&gt;<br>&gt; ?// Compute the seed image, by closing cavities and holes with an ultimate skeleton of the cuboid image<br>

&gt; ?typedef typename itk::UltimateSkeletonImageFilter&lt;TOutputImage, TOutputImage, itk::Connectivity&lt;Dimension, 0&gt;, DistanceImageType &gt; SeedSkeletonFilterType;<br>&gt; ?itk::UltimateSkeletonImageFilter&lt;TOutputImage, TOutputImage, itk::Connectivity&lt;Dimension, 0&gt;, DistanceImageType &gt; SeedSkeletonFilterType;<br>

&gt;<br>&gt; ?typename SeedSkeletonFilterType::Pointer seedSkeletonFilter = SeedSkeletonFilterType::New();<br>&gt; ?seedSkeletonFilter-&gt;SetInput(cuboidImage-&gt;GetOutput());<br>&gt; ?seedSkeletonFilter-&gt;SetPriorityImage(distanceInvertIntensityFilter-&gt;GetOutput());<br>

&gt; ?seedSkeletonFilter-&gt;SetInhibitImage(parallelSkeletonFilter-&gt;GetOutput());<br>&gt; ?try{<br>&gt; ? ?seedSkeletonFilter-&gt;Update();<br>&gt; ?} catch(itk::ExceptionObject &amp;ex) {<br>&gt; ? ?throw itk::ExceptionObject(&quot;milxTopologicalHolesFilling&quot;, 0, std::string(&quot;Topological holes filling.. seed ultimate skeleton failed: &quot;) + ex.GetDescription());<br>

&gt; ?}<br>&gt;<br>&gt; Neil<br>&gt;<br>&gt; -----Original Message-----<br>&gt; From: Bill Lorensen [mailto:<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>]<br>&gt; Sent: Monday, 1 February 2010 11:46 PM<br>

&gt; To: Burdett, Neil (ICT Centre, Herston - RBWH)<br>&gt; Cc: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>&gt; Subject: Re: [Insight-users] typedef name cannot follow class/struct/union<br>

&gt;<br>&gt; I think the typename can be removed on both Windows and linux. My<br>&gt; general rule for typename is that it is required if there are no<br>&gt; template variables.<br>&gt;<br>&gt; For example<br>&gt;<br>&gt; typedef Foo&lt;bar&gt; FooBarType;<br>

&gt;<br>&gt; typedef typename Foo::Pointer FooPointer;<br>&gt;<br>&gt; On Sun, Jan 31, 2010 at 11:39 PM, ?&lt;Neil.Burdett@csiro.au&gt; wrote:<br>&gt;&gt; Hi,<br>&gt;&gt;<br>&gt;&gt; ??? I am currently porting an application from Ubuntu to windows. The line<br>

&gt;&gt; of code below compiles on Ubuntu but not on visual studio...<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; ? typedef typename itk::UltimateSkeletonImageFilter&lt;TOutputImage,<br>&gt;&gt; TOutputImage, itk::Connectivity&lt;Dimension, 0&gt;, DistanceImageType &gt;<br>

&gt;&gt; SeedSkeletonFilterType;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; I receive the error in visual studio 2008 &quot;error C2242: typedef name cannot<br>&gt;&gt; follow class/struct/union&quot;<br>&gt;&gt;<br>

&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Any help would be appreciated.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Neil<br>&gt;&gt;<br>&gt;&gt; _____________________________________<br>&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>

&gt;&gt;<br>&gt;&gt; Visit other Kitware open-source projects at<br>&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>&gt;&gt;<br>

&gt;&gt; Kitware offers ITK Training Courses, for more information visit:<br>&gt;&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>&gt;&gt;<br>

&gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<br>&gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>&gt;&gt;<br>&gt;&gt; Follow this link to subscribe/unsubscribe:<br>

&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br><br><br>------------------------------<br><br>
Message: 3<br>
Date: Mon, 1 Feb 2010 23:48:31 -0500<br>From: Andreas Schuh &lt;<a href="mailto:andreas.schuh.84@googlemail.com" target="_blank">andreas.schuh.84@googlemail.com</a>&gt;<br>Subject: Re: [Insight-users] typedef name cannot follow<br>

&nbsp;&nbsp;&nbsp; class/struct/union<br>To: &lt;Neil.Burdett@csiro.au&gt;<br>Cc: itk &lt;<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>&gt;<br>Message-ID: &lt;<a href="mailto:363946BB-F10E-4E8C-8967-6E88304BE93D@googlemail.com" target="_blank">363946BB-F10E-4E8C-8967-6E88304BE93D@googlemail.com</a>&gt;<br>

Content-Type: text/plain; charset=us-ascii<br><br>Hi Neil,<br><br>Try<br><br>typedef&nbsp; itk::UltimateSkeletonImageFilter&lt;TOutputImage, TOutputImage, itk::Connectivity&lt;Dimension, 0&gt;, DistanceImageType &gt; SeedSkeletonFilterType;<br>

<br>There is no typename specified necessary here. Actually, I think it&#39;s wrong to use it.<br><br>The second line after this one in your mail might just be a copy-and-paste relict while you were composing the mail. Because it doesn&#39;t make sense at all ...<br>

<br>The use of the second typename for the pointer type declaration is fine and for compilers like the VC6 also necessary.<br><br>Andreas<br><br><br>On Feb 1, 2010, at 11:20 PM, &lt;Neil.Burdett@csiro.au&gt; wrote:<br><br>

&gt; Hi Bill and Dan,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; thanks for the reply, but removing typename, or replacing it with ITK_TYPENAME gives exactly the same error in visual studio 2008;<br>&gt; <br>&gt; &quot;error C2242: typedef name cannot follow class/struct/union&quot;<br>

&gt; <br>&gt; The full extract of code I&#39;m using is;<br>&gt; <br>&gt;&nbsp; // Compute the seed image, by closing cavities and holes with an ultimate skeleton of the cuboid image<br>&gt;&nbsp; typedef typename itk::UltimateSkeletonImageFilter&lt;TOutputImage, TOutputImage, itk::Connectivity&lt;Dimension, 0&gt;, DistanceImageType &gt; SeedSkeletonFilterType;<br>

&gt;&nbsp; itk::UltimateSkeletonImageFilter&lt;TOutputImage, TOutputImage, itk::Connectivity&lt;Dimension, 0&gt;, DistanceImageType &gt; SeedSkeletonFilterType;<br>&gt; <br>&gt;&nbsp; typename SeedSkeletonFilterType::Pointer seedSkeletonFilter = SeedSkeletonFilterType::New();<br>

&gt;&nbsp; seedSkeletonFilter-&gt;SetInput(cuboidImage-&gt;GetOutput());<br>&gt;&nbsp; seedSkeletonFilter-&gt;SetPriorityImage(distanceInvertIntensityFilter-&gt;GetOutput());<br>&gt;&nbsp; seedSkeletonFilter-&gt;SetInhibitImage(parallelSkeletonFilter-&gt;GetOutput());<br>

&gt;&nbsp; try{<br>&gt;&nbsp;&nbsp;&nbsp; seedSkeletonFilter-&gt;Update();<br>&gt;&nbsp; } catch(itk::ExceptionObject &amp;ex) {<br>&gt;&nbsp;&nbsp;&nbsp; throw itk::ExceptionObject(&quot;milxTopologicalHolesFilling&quot;, 0, std::string(&quot;Topological holes filling.. seed ultimate skeleton failed: &quot;) + ex.GetDescription());<br>

&gt;&nbsp; }<br>&gt; <br>&gt; Neil<br>&gt; <br>&gt; -----Original Message-----<br>&gt; From: Bill Lorensen [mailto:<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>] <br>&gt; Sent: Monday, 1 February 2010 11:46 PM<br>

&gt; To: Burdett, Neil (ICT Centre, Herston - RBWH)<br>&gt; Cc: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>&gt; Subject: Re: [Insight-users] typedef name cannot follow class/struct/union<br>

&gt; <br>&gt; I think the typename can be removed on both Windows and linux. My<br>&gt; general rule for typename is that it is required if there are no<br>&gt; template variables.<br>&gt; <br>&gt; For example<br>&gt; <br>

&gt; typedef Foo&lt;bar&gt; FooBarType;<br>&gt; <br>&gt; typedef typename Foo::Pointer FooPointer;<br>&gt; <br>&gt; On Sun, Jan 31, 2010 at 11:39 PM,&nbsp; &lt;Neil.Burdett@csiro.au&gt; wrote:<br>&gt;&gt; Hi,<br>&gt;&gt; <br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; I am currently porting an application from Ubuntu to windows. The line<br>
&gt;&gt; of code below compiles on Ubuntu but not on visual studio...<br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt;&nbsp;&nbsp; typedef typename itk::UltimateSkeletonImageFilter&lt;TOutputImage,<br>&gt;&gt; TOutputImage, itk::Connectivity&lt;Dimension, 0&gt;, DistanceImageType &gt;<br>

&gt;&gt; SeedSkeletonFilterType;<br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt; I receive the error in visual studio 2008 &quot;error C2242: typedef name cannot<br>&gt;&gt; follow class/struct/union&quot;<br>&gt;&gt; <br>

&gt;&gt; <br>&gt;&gt; <br>&gt;&gt; Any help would be appreciated.<br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt; Neil<br>&gt;&gt; <br>&gt;&gt; _____________________________________<br>&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>

&gt;&gt; <br>&gt;&gt; Visit other Kitware open-source projects at<br>&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>&gt;&gt; <br>

&gt;&gt; Kitware offers ITK Training Courses, for more information visit:<br>&gt;&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>&gt;&gt; <br>

&gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<br>&gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>&gt;&gt; <br>&gt;&gt; Follow this link to subscribe/unsubscribe:<br>

&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>&gt;&gt; <br>&gt;&gt; <br>&gt; _____________________________________<br>&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>

&gt; <br>&gt; Visit other Kitware open-source projects at<br>&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>&gt; <br>&gt; Kitware offers ITK Training Courses, for more information visit:<br>

&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>&gt; <br>&gt; Please keep messages on-topic and check the ITK FAQ at:<br>&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>

&gt; <br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br><br><br><br>------------------------------<br>

<br>Message: 4<br>Date: Mon, 1 Feb 2010 23:52:39 -0600<br>From: &quot;Yang, Jinzhong&quot; &lt;<a href="mailto:jinzhong76@gmail.com" target="_blank">jinzhong76@gmail.com</a>&gt;<br>Subject: Re: [Insight-users] Question about CMake_CXX_Compiler<br>

To: &quot;&#39;John Drescher&#39;&quot; &lt;<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>&gt;<br>Cc: &#39;Insight Users Mailing List&#39; &lt;<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>&gt;<br>

Message-ID: &lt;011b01caa3cb$ee9b6390$cbd22ab0$@com&gt;<br>Content-Type: text/plain;&nbsp;&nbsp;&nbsp; charset=&quot;ISO-8859-1&quot;<br><br>Hi John,<br><br>Thank you very much for your message. I will upgrade my CMake to the new<br>version.<br>

<br>-Jinzhong<br><br><br>-----Original Message-----<br>From: John Drescher [mailto:<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>] <br>Sent: Monday, February 01, 2010 7:03 PM<br>To: Yang, Jinzhong<br>

Cc: Insight Users Mailing List<br>Subject: Re: [Insight-users] Question about CMake_CXX_Compiler<br><br>&gt; I have a question regarding the compiler used for CMake-generated?<br>projects.<br>&gt; Previously my computer is installed with MS Visual Studio 2005 only and I<br>

&gt; compiled ITK using VS2005. Recently I installed the MS Visual Studio 6 on<br>my<br>&gt; computer and the problem comes up. I generate my projects that require ITK<br>&gt; using CMake 2.6.4. The projects are configured to be MS Visual Studio 2005<br>

&gt; projects. Each time when I configure a project in CMake GUI, I will get a<br>&gt; warning message:<br>&gt;<br>&gt; Warning: CMake is forcing CMAKE_CXX_COMPILER to &quot;cl&quot; to match that<br>&gt;<br>&gt; imported from ITK.? This is required because C++ projects must use the<br>

&gt;<br>&gt; same compiler.? If this message appears for more than one imported<br>&gt;<br>&gt; project, you have conflicting C++ compilers and will have to re-build<br>&gt;<br>&gt; one of those projects. Was set to C:/Program Files/Microsoft<br>

&gt;<br>&gt; Visual Studio/VC98/bin/cl.exe<br>&gt;<br>&gt; I checked the parameters in CMake GUI and found these parameters are<br>&gt; associated with tools coming with Visual Studio 6:<br>&gt;<br>&gt; CMAKE_CXX_COMPILER (forced to be cl during configuration)<br>

&gt;<br>&gt; CMAKE_C_COMPILER<br>&gt;<br>&gt; CMAKE_LINKER<br>&gt;<br>&gt; CMAKE_RC_COMPILER<br>&gt;<br>&gt; However, the generated projects are in the VS2005 format and I can compile<br>&gt; them in VS2005 IDE without any problem. Here are my questions:<br>

&gt;<br>&gt; 1.????? Is there any way to suppress the warning message? Specifically, I<br>&gt; would like the 4 parameters listed above associated with tools coming with<br>&gt; Visual Studio 2005 if the project is configured as a VS2005 project.<br>

&gt;<br>&gt; 2.????? Are there any potential problems if I disregard the warning<br>message?<br>&gt;<br>You can disregard the message.<br><br>I reported a bug about 6 months ago about this. I was told that even<br>though cmake was reporting this warning it was doing the right thing<br>

and not using vc6. I have since upgraded to cmake-2.8.0 and I do not<br>remember having this anymore.<br><br>John<br><br><br><br>------------------------------<br><br>Message: 5<br>Date: Tue, 2 Feb 2010 09:14:09 +0100<br>

From: motes motes &lt;<a href="mailto:mort.motes@gmail.com" target="_blank">mort.motes@gmail.com</a>&gt;<br>Subject: [Insight-users] Parametric vs. Non-parametric image<br>&nbsp;&nbsp;&nbsp; registration?<br>To: Insight Users Mailing List &lt;<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>&gt;<br>

Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a href="mailto:54eca6a71002020014qf9e74f4idd4bbe4815938acb@mail.gmail.com" target="_blank">54eca6a71002020014qf9e74f4idd4bbe4815938acb@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1<br>

<br>The terms Parametric and Non-parametric Image registration are used in<br>many articles but what is the exact difference?<br><br>I know that optimizing a deformation field using eg. B-Splines is<br>called parametric (the coefficients/parameters of the deformation<br>

vectors are optimized).<br><br>But what are equivalent examples of non-parametric methods?<br><br><br>------------------------------<br><br>Message: 6<br>Date: Tue, 2 Feb 2010 09:21:36 +0100<br>From: &quot;Lodron, Gerald&quot; &lt;<a href="mailto:Gerald.Lodron@joanneum.at" target="_blank">Gerald.Lodron@joanneum.at</a>&gt;<br>

Subject: Re: [Insight-users] Parametric vs. Non-parametric image<br>&nbsp;&nbsp;&nbsp; registration?<br>To: motes motes &lt;<a href="mailto:mort.motes@gmail.com" target="_blank">mort.motes@gmail.com</a>&gt;<br>Cc: &quot;<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>&quot; &lt;<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>&gt;<br>

Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;E70FE8EA6EBE9241BDB4CA6D8D12E1D8777D1CF352@RZJC1EX.jr1.local&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br><br><br>Parametric means that you can model the transformation via a formula which is only dependend on a few parameters, e.g.<br>

<br>f(x,y) = (x&#39;,y&#39;) = (x,y) + (tx, ty) <br><br>Here the parameters of that &quot;translation transform&quot; are tx and ty.<br><br><br>Nonparametric means that the transformation cannot be represented by such an formular, you need an explicit deformation vector for EVERY pixel. That is for an 2D MxN image a MxNx2 deformation field. It should be clear that a parametric transaformation is much easier to invert and smaller to save. <br>

<br><br><br>-----Urspr?ngliche Nachricht-----<br>Von: <a href="mailto:insight-users-bounces@itk.org" target="_blank">insight-users-bounces@itk.org</a> [mailto:<a href="mailto:insight-users-bounces@itk.org" target="_blank">insight-users-bounces@itk.org</a>] Im Auftrag von motes motes<br>

Gesendet: Dienstag, 02. Februar 2010 09:14<br>An: Insight Users Mailing List<br>Betreff: [Insight-users] Parametric vs. Non-parametric image registration?<br><br>The terms Parametric and Non-parametric Image registration are used in many articles but what is the exact difference?<br>

<br>I know that optimizing a deformation field using eg. B-Splines is called parametric (the coefficients/parameters of the deformation vectors are optimized).<br><br>But what are equivalent examples of non-parametric methods?<br>

_____________________________________<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <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.html" target="_blank">http://www.kitware.com/products/protraining.html</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>------------------------------<br><br>_______________________________________________<br>Insight-users mailing list<br><a href="mailto:Insight-users@itk.org" target="_blank">Insight-users@itk.org</a><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>End of Insight-users Digest, Vol 70, Issue 5<br>********************************************<br></td>
<td width="170">&nbsp;</td></tr></tbody></table></div></div><br>_____________________________________<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.html" target="_blank">http://www.kitware.com/products/protraining.html</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></blockquote></div><br>