<br>Hi Josu,<br><br>Thanks for trying the MeshToMesh registration framework<br>and for reporting back.<br><br>Please note that this framework is intended to register the<br>scalar fields associated with the nodes of two spherical  meshes.<br>
<br>It is not intended to perform a point-based registration<br>(such as ICP (iterative closest point) ). <br><br>Therefore , it is expected that the meshes that you provide<br>as input will have the following three characteristics:<br>
<br>    A)  The points are placed in the surface of a sphere<br><br>    B)  PointData (PixelType) associated to every point <br>          in the mesh is a scalar value.<br><br>    C) The topology of the mesh is such that it represents<br>
          a discretization of 2D manifold embedded in a 3D<br>          space. (e.g. the typical case of a 2D surface surrounding<br>          a 3D object.<br><br><br>Please note also that the code must be build against a <br>
CVS version of ITK.  Since many of the classes depend<br>on code that is in the Insight/Code/Review directory.<br><br>Try updating your CVS checkout of ITK, then recompiling<br>the Mesh to Mesh registration code, and let us know if<br>
you still find any problem.<br><br><br>      Regards,<br><br><br>             Luis<br><br><br>------------------------------<br><div class="gmail_quote">On Tue, Jun 23, 2009 at 11:15 PM, Josu Maiora <span dir="ltr">&lt;<a href="mailto:jmaiora@gmail.com">jmaiora@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span style="border-collapse: collapse;">Hi all,<div><br></div><div>I have been testing the recently published mesh to mesh registration examples and the example stops when I introduce my own vtk files.</div>

<div>But even if I test MeanSquaresMeshToMeshMetricRegistration1.exe with the data included in the example -FixedMesh and MovingMesh- I get the next error. </div><div><br></div><div>Could you tell me where is the problem?</div>

<div><br></div><div>Another testing examples like itkMeshFunctionTest1.exe works fine, but itkMeshToMeshMetricTest1.exe does not.</div><div><br></div><div><br></div><div><div><span style="font-size: small;"><i>E:\Tesia\SW\Registration\QuadEdgeMeshRigidRegistration\Bin\bin\debug&gt;MeanSquaresMeshToMeshMetricRegistration1.exe FixedMesh.vtk MovingMesh.vtk 0.0 0.0 1.0 0.1</i></span></div>

<div><span style="font-size: small;"><i>Registration failed</i></span></div><div><span style="font-size: small;"><i>Reason</i></span></div><div><span style="font-size: small;"><i>itk::ExceptionObject (0108FBD0)</i></span></div>

<div><span style="font-size: small;"><i>Location: &quot;void __thiscall itk::MeshToMeshMetric&lt;class itk::QuadEdgeMesh&lt;float,3,class itk::QuadEdgeMeshTraits&lt;float,3,bool,bool,float,float&gt; &gt;,class itk::QuadEdgeMesh&lt;float,3</i></span></div>

<div><span style="font-size: small;"><i>,class itk::QuadEdgeMeshTraits&lt;float,3,bool,bool,float,float&gt; &gt; &gt;::Initialize(void) throw(class itk::ExceptionObject)&quot;</i></span></div><div>
<span style="font-size: small;"><i>File: e:\tesia\sw\registration\quadedgemeshrigidregistration\source\itkMeshToMeshMetric.txx</i></span></div><div><span style="font-size: small;"><i>Line: 79</i></span></div>
<div><span style="font-size: small;"><i>Description: itk::ERROR: MeanSquaresMeshToMeshMetric(019018E8): MovingMesh does not have point data</i></span></div></div><div><br></div><div><br></div><div>
Thanks,</div><div><br></div><div>Josu</div><div><br></div><div>**************************************************************************</div><div>Josu Maiora</div><font color="#888888"><font color="#888888"><div>University of the Basque Country</div>

<div>**************************************************************************</div></font></font></span>
<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>
Please keep messages on-topic and check the ITK FAQ at: <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>