Showing revision 3

Post New Message


Name:Sanket Jain
Email
Institution:
Message:
What is the opt structure in remeshsurf function? I am not sure what the values for its opt.gridsize and others would be in my case. Is there any way I use the same gridsize and elemsize as my original surface mesh? or Does it nullify the whole objective of performing the resurfmehs.
Time:: Tue Jul 27 2010 10:45:21 GMT-0500 (Central Daylight Time)</timestamp>

Name:FangQ
Email
Institution:
Message:
hi Sanket

this the most frequently encountered error with iso2mesh (or tetgen). It is very likely that your original mesh contains self-intersecting elements, and mesh simplification (decimation) usually won't fix it (If you are using FreeSurfer, the pial surface it produced usually have this type of issue).

There is a work-around, but you might have to play with the options to get it to work. Please look into the sample script sample/demo_remesh_surface.m. It calls a function named remeshsurf in the toolbox. What this function does is to first convert a closed surface into a binary image, and then re-extract a surface from the volume, and the extraction script guarantees that the produced mesh is self-intersection free.

If your mesh is complex, you may have to use a large volume to re-voxelize your surface. Give it a try and let me know if it works.

Qianqian


Time:: Mon Jul 26 2010 19:54:04 GMT-0400 (EST)</timestamp>

Name:Sanket Jain
Email
Institution:Medical College of Wisconsin
Message:
I used a cortical surface and created a volumetric mesh using the surf2mesh function. If I use the keepratio value <=0.5; the mesher works really well. But if I use the keepratio value>0.5, I get the following message.

Error: Invalid PLC.

  Two subfaces (17561, 18027, 83603) and (83474, 83572, 18027) 
  are found intersecting each other. 
  Hint:  Use -d switch to find all intersecting facets. 
volume mesh generation is complete

I am not sure the reason for this message and also if there is any potential work around it.

Thanks, Sanket


Time:: Mon Jul 26 2010 16:05:00 GMT-0500 (Central Daylight Time)</timestamp>

Name:Qianqian Fang
Email

Name:Edouard Oudet
Email
Powered by Habitat