[Insight-users] Mesh to mesh registration
Luis Ibanez
luis.ibanez at kitware.com
Wed Jun 24 00:09:14 EDT 2009
Hi Josu,
Thanks for trying the MeshToMesh registration framework
and for reporting back.
Please note that this framework is intended to register the
scalar fields associated with the nodes of two spherical meshes.
It is not intended to perform a point-based registration
(such as ICP (iterative closest point) ).
Therefore , it is expected that the meshes that you provide
as input will have the following three characteristics:
A) The points are placed in the surface of a sphere
B) PointData (PixelType) associated to every point
in the mesh is a scalar value.
C) The topology of the mesh is such that it represents
a discretization of 2D manifold embedded in a 3D
space. (e.g. the typical case of a 2D surface surrounding
a 3D object.
Please note also that the code must be build against a
CVS version of ITK. Since many of the classes depend
on code that is in the Insight/Code/Review directory.
Try updating your CVS checkout of ITK, then recompiling
the Mesh to Mesh registration code, and let us know if
you still find any problem.
Regards,
Luis
------------------------------
On Tue, Jun 23, 2009 at 11:15 PM, Josu Maiora <jmaiora at gmail.com> wrote:
> Hi all,
> I have been testing the recently published mesh to mesh registration
> examples and the example stops when I introduce my own vtk files.
> But even if I test MeanSquaresMeshToMeshMetricRegistration1.exe with the
> data included in the example -FixedMesh and MovingMesh- I get the next
> error.
>
> Could you tell me where is the problem?
>
> Another testing examples like itkMeshFunctionTest1.exe works fine,
> but itkMeshToMeshMetricTest1.exe does not.
>
>
> *E:\Tesia\SW\Registration\QuadEdgeMeshRigidRegistration\Bin\bin\debug>MeanSquaresMeshToMeshMetricRegistration1.exe
> FixedMesh.vtk MovingMesh.vtk 0.0 0.0 1.0 0.1*
> *Registration failed*
> *Reason*
> *itk::ExceptionObject (0108FBD0)*
> *Location: "void __thiscall itk::MeshToMeshMetric<class
> itk::QuadEdgeMesh<float,3,class
> itk::QuadEdgeMeshTraits<float,3,bool,bool,float,float> >,class
> itk::QuadEdgeMesh<float,3*
> *,class itk::QuadEdgeMeshTraits<float,3,bool,bool,float,float> >
> >::Initialize(void) throw(class itk::ExceptionObject)"*
> *File:
> e:\tesia\sw\registration\quadedgemeshrigidregistration\source\itkMeshToMeshMetric.txx
> *
> *Line: 79*
> *Description: itk::ERROR: MeanSquaresMeshToMeshMetric(019018E8):
> MovingMesh does not have point data*
>
>
> Thanks,
>
> Josu
>
> **************************************************************************
> Josu Maiora
> University of the Basque Country
> **************************************************************************
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090624/ad3e6619/attachment.htm>
More information about the Insight-users
mailing list