Post New Message


Name:Qianqian Fang
Email
Institution:
Message:
hi Filka

metchgui only registers a point cloud to a surface mesh. In order to register to a tetrahedral mesh, you need to extract the surface for one of the mesh by using volface, then, register nodes from another mesh to this surface; once done the computed registration matrices will also apply to the non-surface nodes in the first mesh.

Qianqian


Time:: Sun Jan 22 2012 21:46:50 GMT-0500 (EST)</timestamp>

Name:Filka Yaneva
Email
Institution:Universitätsklinikum Heidelberg
Message:
Dear Qianqian Fang,

Thank you for your Message!

I have now another problem. I generated two meshes with the provides method v2m (iso2mesh) and got three outputs(node, elem, face) respectively. Then I used the metchgui (as you explained me)for the registration of the two meshes. I got some errors based on mismatch matrix dimensions in 'nodesurfnorm.m'.It only works if 'elem' (for the first mesh) has 3 columns and not 4. Can you please help me?

Best regards, Filka Yaneva


Time:: Sun Jan 22 2012 22:37:40 GMT+0100</timestamp>

Name:Qianqian Fang
Email
Institution:
Message:
hi Filka

Yes, you can. You just use the nodes on one of your surface as the point cloud, and do the registration.

Qianqian


Time:: Wed Jan 18 2012 10:02:21 GMT-0500 (EST)</timestamp>

Name:Filka Yaneva
Email
Institution:Universitätsklinikum Heidelberg
Message:
Dear all, thank you for the great submission !

I would like to know if it is posssible to use metch for the registration of two surfaces. The examples are only for the registration of a point cloud to a surface but you wrote in the introduction (of readmefirst)that: "Metch provides straightforward functions to register point clouds (or surfaces) to a triangular/cubic surface mesh by calculating an optimal affine transformation (in terms of matrix A for scaling and rotation, and b for translation)." So I think that there is a opportunity to use netch for the registration of two surfaces. Can you plaese help for this ?

Thank you very much, Filka Yaneva


Time:: Wed Jan 18 2012 15:43:06 GMT+0100</timestamp>

Name:Qianqian Fang
Email
Institution:
Message:
hi Filka

It could be a lot easier to find out what happened if you use the script mode instead of the GUI.

under metch/sample/, script demo_registration_ex1.m shows you the basic structures for a script-based mesh registration. Please adapt it to run your data. If it crashes, please email me your script and sample data, so I can debug.

Qianqian


Time:: Tue Jan 24 2012 14:53:14 GMT-0500 (EST)</timestamp>

Name:Filka Yaneva
Email
Institution:Universitätsklinikum Heidelberg
Message:
Dear Qianqian,

Thank you very much for your answer !!! Sorry for this but I should annoy you with another question. I used volface to extract the surface of the mesh and I got an elem of the form (NNX3). The metchgui does not work correctly with it. I got an output like this:

.....

   NaN
   NaN
   NaN
   NaN
   NaN
   NaN
   NaN

iter=2 error=NaN ??? NaN's cannot be converted to logicals.

Error in ==> regpt2surf at 69

      if(C(i))

Error in ==> metchgui>btOptimize_Callback at 304

        [Anew,bnew,posnew]=regpt2surf(dat.node,dat.elem,dat.points,pmask,dat.A0,dat.b0,ones(12,1),10);

Error in ==> gui_mainfcn at 96

        feval(varargin{:});

Error in ==> metchgui at 61

    gui_mainfcn(gui_State, varargin{:});

??? Error while evaluating uicontrol Callback

Can you please help me ?

Best regards, Filka


Time:: Tue Jan 24 2012 11:31:09 GMT+0100</timestamp>

Name:Qianqian Fang
Email
Institution:
Message:
hi Filka

metchgui only registers a point cloud to a surface mesh. In order to register to a tetrahedral mesh, you need to extract the surface for one of the mesh by using volface, then, register nodes from another mesh to this surface; once done the computed registration matrices will also apply to the non-surface nodes in the first mesh.

Qianqian


Time:: Sun Jan 22 2012 21:46:50 GMT-0500 (EST)</timestamp>

Name:Filka Yaneva
Email
Institution:Universitätsklinikum Heidelberg
Message:
Dear Qianqian Fang,

Thank you for your Message!

I have now another problem. I generated two meshes with the provides method v2m (iso2mesh) and got three outputs(node, elem, face) respectively. Then I used the metchgui (as you explained me)for the registration of the two meshes. I got some errors based on mismatch matrix dimensions in 'nodesurfnorm.m'.It only works if 'elem' (for the first mesh) has 3 columns and not 4. Can you please help me?

Best regards, Filka Yaneva


Time:: Sun Jan 22 2012 22:37:40 GMT+0100</timestamp>

Name:Qianqian Fang
Email
Institution:
Message:
hi Filka

Yes, you can. You just use the nodes on one of your surface as the point cloud, and do the registration.

Qianqian


Time:: Wed Jan 18 2012 10:02:21 GMT-0500 (EST)</timestamp>

Name:Filka Yaneva
Email
Institution:Universitätsklinikum Heidelberg
Message:
Dear all, thank you for the great submission !

I would like to know if it is posssible to use metch for the registration of two surfaces. The examples are only for the registration of a point cloud to a surface but you wrote in the introduction (of readmefirst)that: "Metch provides straightforward functions to register point clouds (or surfaces) to a triangular/cubic surface mesh by calculating an optimal affine transformation (in terms of matrix A for scaling and rotation, and b for translation)." So I think that there is a opportunity to use netch for the registration of two surfaces. Can you plaese help for this ?

Thank you very much, Filka Yaneva


Time:: Wed Jan 18 2012 15:43:06 GMT+0100</timestamp>
Powered by Habitat