the output mesh screenshot is attached.[node,elem,face]=v2m(test_f3+1,[],5,10,'cgalmesh');
plotmesh(node(:,1:3),elem,'z<150');
hold on;
plotmesh(node(:,1:3),elem(elem(:,end)==1,:));
binsurface->meshresample->surf2mesh,
Thank you by advance.
Best regards,
Jaona RandrianalisoaAssist. Prof. University of Reims, France
--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.
To post to this group, send email to iso2mes...@googlegroups.com.
Visit this group at http://groups.google.com/group/iso2mesh-users.
For more options, visit https://groups.google.com/d/optout.
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
Dear Fang,
After one week of tests with v2m function, I would like to test the second workflow that you suggested (binsurface->meshresample->surf2mesh) because although the direct volume meshing with v2m is successful, this last provides a very rough surface between 2 regions however, i would like to obtain a surface slightly smooth (at least at the scale of the voxels).
So, could you give me some helps (or do you have script that i can be used/modify for this workflow) to mesh my CT images?
Thank you by advance,
Best regards,
Jaona
On Sunday, November 23, 2014 1:31:20 PM UTC+1, Jaona Randrianalisoa wrote:Dear Prof. Fang,
I am a new user of Iso2mesh and before of all, I want to say "thank you a lot for making this code available to us."
Although I read careffuly the user guide and have take a look on various samples, i do not arrive to mesh my images as i expected.
So let me introduce you my problem, I have a 3D tif image from X-ray CT after using ImagJ for binarization (you can download the source file of the image at http://esuptools.univ-reims.fr/esup-filex/getfilex.php?hash=689b8fa936b6708b4254408bfd973e21) and I want to mesh both black and white colors of the image with tetrahedral elements and i want to separate them into 2 regions/domains (region 1 for the white color and region 2 for the black corlo) and export the mesh into abaqus format. I tried the following script:
%-------------------------------------------------------------for i=1:256test_f3(:,:,i)=imread('test_f3.tif',i);end
[node,elem,face]=v2m(test_f3,0.5,5,100);
saveabaqus(node,face,elem,'test_f3.inp')
plotmesh(node(:,[2 1 3]),face,'facealpha',0.7);
%--------------------------------------------------------------
This script works but it meshes only the white region. So, could you give me some advises how to mesh both white and black regions of the images and separate them into 2 element sets in abaqus file?
Thank you by advance.
Best regards,
Jaona RandrianalisoaAssist. Prof. University of Reims, France
--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.
To post to this group, send email to iso2mes...@googlegroups.com.
Visit this group at http://groups.google.com/group/iso2mesh-users.
For more options, visit https://groups.google.com/d/optout.