<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 <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>>.)<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->GetNumberOfPoints();<br><div id=":5j" class="ii gt"><br>for (int i=0; i < numPts; i++)<br>{<br> myPolyData->GetPoint(m,pt);<br>
std::cout << "point with index " << i << ": ("
<< pt[0] << " " << pt[1] << " " << pt[2]
<< ")" << std::endl;<br>
}<br><br>myPolyData->GetCells()->InitTraversal();<br><br>while (myPolyData->GetCells()->GetNextCell(npts,pts))<br>{<br> std::cout << "cell has " << npts << " points with indices:";<br>
<br> for (int i=0; i < npts; i++)<br> {<br> std::cout << " " << pts[i];<br> }<br><br> std::cout << 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"><<a href="mailto:wu.yichao2727@gmail.com">wu.yichao2727@gmail.com</a>></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 have a question to ask. How can I read the Triangle information(include triangle vertices,points,size of points, etc) in vtkPolyData or in vtkCellArray,because I want to build the model by my code rather than vtkOBJExporter.</div>
<div style="color: rgb(0, 0, 0);"><div> </div><div> </div><div style="padding: 2px 0pt; font-size: 12px; font-family: Arial Narrow;">------------------ Original ------------------</div><div style="font-size: 12px;"><div>
<b>From:</b> "insight-users-request"<<a href="mailto:insight-users-request@itk.org" target="_blank">insight-users-request@itk.org</a>>;</div>
<div><b>Date:</b> 2010年2月2日(星期二) 下午4:10</div><div><b>To:</b> "insight-users"<<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>>;</div><div><b>Subject:</b> Insight-users Digest, Vol 70, Issue 5</div>
</div><div> </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> <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>
<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 'help' to<br> <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> <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 "Re: Contents of Insight-users digest..."<br><br><br>Today's Topics:<br><br> 1. Re: typedef name cannot follow class/struct/union<br> (Neil.Burdett@csiro.au)<br> 2. Re: typedef name cannot follow class/struct/union (Bill Lorensen)<br>
3. Re: typedef name cannot follow class/struct/union (Andreas Schuh)<br> 4. Re: Question about CMake_CXX_Compiler (Yang, Jinzhong)<br> 5. Parametric vs. Non-parametric image registration? (motes motes)<br> 6. Re: Parametric vs. Non-parametric image registration?<br>
(Lodron, Gerald)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Tue, 2 Feb 2010 15:20:30 +1100<br>From: <Neil.Burdett@csiro.au><br>Subject: Re: [Insight-users] typedef name cannot follow<br>
class/struct/union<br>To: <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>>, <<a href="mailto:dan.muel@gmail.com" target="_blank">dan.muel@gmail.com</a>><br>Cc: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>
Message-ID:<br> <<a href="mailto:6FACAC4CD9615D41B1FE8171A60CB98AB25DE6C297@EXNSW-MBX03.nexus.csiro.au" target="_blank">6FACAC4CD9615D41B1FE8171A60CB98AB25DE6C297@EXNSW-MBX03.nexus.csiro.au</a>><br> <br>Content-Type: text/plain; charset="iso-8859-1"<br>
<br>Hi Bill and Dan,<br> thanks for the reply, but removing typename, or replacing it with ITK_TYPENAME gives exactly the same error in visual studio 2008;<br><br>"error C2242: typedef name cannot follow class/struct/union"<br>
<br>The full extract of code I'm using is;<br><br> // Compute the seed image, by closing cavities and holes with an ultimate skeleton of the cuboid image<br> typedef typename itk::UltimateSkeletonImageFilter<TOutputImage, TOutputImage, itk::Connectivity<Dimension, 0>, DistanceImageType > SeedSkeletonFilterType;<br>
itk::UltimateSkeletonImageFilter<TOutputImage, TOutputImage, itk::Connectivity<Dimension, 0>, DistanceImageType > SeedSkeletonFilterType;<br><br> typename SeedSkeletonFilterType::Pointer seedSkeletonFilter = SeedSkeletonFilterType::New();<br>
seedSkeletonFilter->SetInput(cuboidImage->GetOutput());<br> seedSkeletonFilter->SetPriorityImage(distanceInvertIntensityFilter->GetOutput());<br> seedSkeletonFilter->SetInhibitImage(parallelSkeletonFilter->GetOutput());<br>
try{<br> seedSkeletonFilter->Update();<br> } catch(itk::ExceptionObject &ex) {<br> throw itk::ExceptionObject("milxTopologicalHolesFilling", 0, std::string("Topological holes filling.. seed ultimate skeleton failed: ") + ex.GetDescription());<br>
}<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<bar> FooBarType;<br><br>typedef typename Foo::Pointer FooPointer;<br><br>On Sun, Jan 31, 2010 at 11:39 PM, <Neil.Burdett@csiro.au> wrote:<br>
> Hi,<br>><br>> ??? I am currently porting an application from Ubuntu to windows. The line<br>> of code below compiles on Ubuntu but not on visual studio...<br>><br>><br>><br>> ? typedef typename itk::UltimateSkeletonImageFilter<TOutputImage,<br>
> TOutputImage, itk::Connectivity<Dimension, 0>, DistanceImageType ><br>> SeedSkeletonFilterType;<br>><br>><br>><br>> I receive the error in visual studio 2008 "error C2242: typedef name cannot<br>
> follow class/struct/union"<br>><br>><br>><br>> Any help would be appreciated.<br>><br>><br>><br>> Neil<br>><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>><br><br><br>
------------------------------<br><br>Message: 2<br>Date: Mon, 1 Feb 2010 23:46:37 -0500<br>From: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>><br>Subject: Re: [Insight-users] typedef name cannot follow<br>
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> <<a href="mailto:4db4735c1002012046g253b8d02t7fc86b3387885728@mail.gmail.com" target="_blank">4db4735c1002012046g253b8d02t7fc86b3387885728@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br><br>Delete this line:<br> itk::UltimateSkeletonImageFilter<TOutputImage, TOutputImage,<br>itk::Connectivity<Dimension, 0>, DistanceImageType ><br>SeedSkeletonFilterType;<br>
<br><br>On Mon, Feb 1, 2010 at 11:20 PM, <Neil.Burdett@csiro.au> wrote:<br>> Hi Bill and Dan,<br>> ? ? ? ?thanks for the reply, but removing typename, or replacing it with ITK_TYPENAME gives exactly the same error in visual studio 2008;<br>
><br>> "error C2242: typedef name cannot follow class/struct/union"<br>><br>> The full extract of code I'm using is;<br>><br>> ?// Compute the seed image, by closing cavities and holes with an ultimate skeleton of the cuboid image<br>
> ?typedef typename itk::UltimateSkeletonImageFilter<TOutputImage, TOutputImage, itk::Connectivity<Dimension, 0>, DistanceImageType > SeedSkeletonFilterType;<br>> ?itk::UltimateSkeletonImageFilter<TOutputImage, TOutputImage, itk::Connectivity<Dimension, 0>, DistanceImageType > SeedSkeletonFilterType;<br>
><br>> ?typename SeedSkeletonFilterType::Pointer seedSkeletonFilter = SeedSkeletonFilterType::New();<br>> ?seedSkeletonFilter->SetInput(cuboidImage->GetOutput());<br>> ?seedSkeletonFilter->SetPriorityImage(distanceInvertIntensityFilter->GetOutput());<br>
> ?seedSkeletonFilter->SetInhibitImage(parallelSkeletonFilter->GetOutput());<br>> ?try{<br>> ? ?seedSkeletonFilter->Update();<br>> ?} catch(itk::ExceptionObject &ex) {<br>> ? ?throw itk::ExceptionObject("milxTopologicalHolesFilling", 0, std::string("Topological holes filling.. seed ultimate skeleton failed: ") + ex.GetDescription());<br>
> ?}<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<bar> FooBarType;<br>
><br>> typedef typename Foo::Pointer FooPointer;<br>><br>> On Sun, Jan 31, 2010 at 11:39 PM, ?<Neil.Burdett@csiro.au> wrote:<br>>> Hi,<br>>><br>>> ??? I am currently porting an application from Ubuntu to windows. The line<br>
>> of code below compiles on Ubuntu but not on visual studio...<br>>><br>>><br>>><br>>> ? typedef typename itk::UltimateSkeletonImageFilter<TOutputImage,<br>>> TOutputImage, itk::Connectivity<Dimension, 0>, DistanceImageType ><br>
>> SeedSkeletonFilterType;<br>>><br>>><br>>><br>>> I receive the error in visual studio 2008 "error C2242: typedef name cannot<br>>> follow class/struct/union"<br>>><br>
>><br>>><br>>> Any help would be appreciated.<br>>><br>>><br>>><br>>> Neil<br>>><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>>><br>><br><br><br>------------------------------<br><br>
Message: 3<br>
Date: Mon, 1 Feb 2010 23:48:31 -0500<br>From: Andreas Schuh <<a href="mailto:andreas.schuh.84@googlemail.com" target="_blank">andreas.schuh.84@googlemail.com</a>><br>Subject: Re: [Insight-users] typedef name cannot follow<br>
class/struct/union<br>To: <Neil.Burdett@csiro.au><br>Cc: itk <<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>><br>Message-ID: <<a href="mailto:363946BB-F10E-4E8C-8967-6E88304BE93D@googlemail.com" target="_blank">363946BB-F10E-4E8C-8967-6E88304BE93D@googlemail.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br><br>Hi Neil,<br><br>Try<br><br>typedef itk::UltimateSkeletonImageFilter<TOutputImage, TOutputImage, itk::Connectivity<Dimension, 0>, DistanceImageType > SeedSkeletonFilterType;<br>
<br>There is no typename specified necessary here. Actually, I think it'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'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, <Neil.Burdett@csiro.au> wrote:<br><br>
> Hi Bill and Dan,<br>> thanks for the reply, but removing typename, or replacing it with ITK_TYPENAME gives exactly the same error in visual studio 2008;<br>> <br>> "error C2242: typedef name cannot follow class/struct/union"<br>
> <br>> The full extract of code I'm using is;<br>> <br>> // Compute the seed image, by closing cavities and holes with an ultimate skeleton of the cuboid image<br>> typedef typename itk::UltimateSkeletonImageFilter<TOutputImage, TOutputImage, itk::Connectivity<Dimension, 0>, DistanceImageType > SeedSkeletonFilterType;<br>
> itk::UltimateSkeletonImageFilter<TOutputImage, TOutputImage, itk::Connectivity<Dimension, 0>, DistanceImageType > SeedSkeletonFilterType;<br>> <br>> typename SeedSkeletonFilterType::Pointer seedSkeletonFilter = SeedSkeletonFilterType::New();<br>
> seedSkeletonFilter->SetInput(cuboidImage->GetOutput());<br>> seedSkeletonFilter->SetPriorityImage(distanceInvertIntensityFilter->GetOutput());<br>> seedSkeletonFilter->SetInhibitImage(parallelSkeletonFilter->GetOutput());<br>
> try{<br>> seedSkeletonFilter->Update();<br>> } catch(itk::ExceptionObject &ex) {<br>> throw itk::ExceptionObject("milxTopologicalHolesFilling", 0, std::string("Topological holes filling.. seed ultimate skeleton failed: ") + ex.GetDescription());<br>
> }<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<bar> FooBarType;<br>> <br>> typedef typename Foo::Pointer FooPointer;<br>> <br>> On Sun, Jan 31, 2010 at 11:39 PM, <Neil.Burdett@csiro.au> wrote:<br>>> Hi,<br>>> <br>
>> I am currently porting an application from Ubuntu to windows. The line<br>
>> of code below compiles on Ubuntu but not on visual studio...<br>>> <br>>> <br>>> <br>>> typedef typename itk::UltimateSkeletonImageFilter<TOutputImage,<br>>> TOutputImage, itk::Connectivity<Dimension, 0>, DistanceImageType ><br>
>> SeedSkeletonFilterType;<br>>> <br>>> <br>>> <br>>> I receive the error in visual studio 2008 "error C2242: typedef name cannot<br>>> follow class/struct/union"<br>>> <br>
>> <br>>> <br>>> Any help would be appreciated.<br>>> <br>>> <br>>> <br>>> Neil<br>>> <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>>> <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><br><br>------------------------------<br>
<br>Message: 4<br>Date: Mon, 1 Feb 2010 23:52:39 -0600<br>From: "Yang, Jinzhong" <<a href="mailto:jinzhong76@gmail.com" target="_blank">jinzhong76@gmail.com</a>><br>Subject: Re: [Insight-users] Question about CMake_CXX_Compiler<br>
To: "'John Drescher'" <<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>><br>Cc: 'Insight Users Mailing List' <<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>><br>
Message-ID: <011b01caa3cb$ee9b6390$cbd22ab0$@com><br>Content-Type: text/plain; charset="ISO-8859-1"<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>> I have a question regarding the compiler used for CMake-generated?<br>projects.<br>> Previously my computer is installed with MS Visual Studio 2005 only and I<br>
> compiled ITK using VS2005. Recently I installed the MS Visual Studio 6 on<br>my<br>> computer and the problem comes up. I generate my projects that require ITK<br>> using CMake 2.6.4. The projects are configured to be MS Visual Studio 2005<br>
> projects. Each time when I configure a project in CMake GUI, I will get a<br>> warning message:<br>><br>> Warning: CMake is forcing CMAKE_CXX_COMPILER to "cl" to match that<br>><br>> imported from ITK.? This is required because C++ projects must use the<br>
><br>> same compiler.? If this message appears for more than one imported<br>><br>> project, you have conflicting C++ compilers and will have to re-build<br>><br>> one of those projects. Was set to C:/Program Files/Microsoft<br>
><br>> Visual Studio/VC98/bin/cl.exe<br>><br>> I checked the parameters in CMake GUI and found these parameters are<br>> associated with tools coming with Visual Studio 6:<br>><br>> CMAKE_CXX_COMPILER (forced to be cl during configuration)<br>
><br>> CMAKE_C_COMPILER<br>><br>> CMAKE_LINKER<br>><br>> CMAKE_RC_COMPILER<br>><br>> However, the generated projects are in the VS2005 format and I can compile<br>> them in VS2005 IDE without any problem. Here are my questions:<br>
><br>> 1.????? Is there any way to suppress the warning message? Specifically, I<br>> would like the 4 parameters listed above associated with tools coming with<br>> Visual Studio 2005 if the project is configured as a VS2005 project.<br>
><br>> 2.????? Are there any potential problems if I disregard the warning<br>message?<br>><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 <<a href="mailto:mort.motes@gmail.com" target="_blank">mort.motes@gmail.com</a>><br>Subject: [Insight-users] Parametric vs. Non-parametric image<br> registration?<br>To: Insight Users Mailing List <<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>><br>
Message-ID:<br> <<a href="mailto:54eca6a71002020014qf9e74f4idd4bbe4815938acb@mail.gmail.com" target="_blank">54eca6a71002020014qf9e74f4idd4bbe4815938acb@mail.gmail.com</a>><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: "Lodron, Gerald" <<a href="mailto:Gerald.Lodron@joanneum.at" target="_blank">Gerald.Lodron@joanneum.at</a>><br>
Subject: Re: [Insight-users] Parametric vs. Non-parametric image<br> registration?<br>To: motes motes <<a href="mailto:mort.motes@gmail.com" target="_blank">mort.motes@gmail.com</a>><br>Cc: "<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>" <<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>><br>
Message-ID:<br> <E70FE8EA6EBE9241BDB4CA6D8D12E1D8777D1CF352@RZJC1EX.jr1.local><br>Content-Type: text/plain; charset="iso-8859-1"<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',y') = (x,y) + (tx, ty) <br><br>Here the parameters of that "translation transform" 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"> </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>