Home › Forum › SOFA › Using SOFA › [SOLVED] How to achieve simulation of liver deformation using SOFA framework?
Tagged: 64_bits, SOFA_other, Windows_81
- This topic has 5 replies, 2 voices, and was last updated 7 years, 9 months ago by Hugo.
-
AuthorPosts
-
16 November 2016 at 04:18 #7777LujainBlocked
Hi guys,
I am working on the research about modelling the liver and simulating the deformation under pneumoperitoneum. I built SOFA successfully but I dont know how to use it. There is already a liver model built in SOFA framework. Can I use or modify it directly? By the way,Which components should i use?
I am looking forward your reply. Thanks in adcance!Best regards,
Lujian24 November 2016 at 00:33 #7957HugoKeymasterDear Lujain,
Thank you for choosing SOFA!
As you might have noticed, we already have a basic liver simulation example in examples/Demos/liver.scn. You can use this model for your research of course.However, your question “which component should I use” is too vague. In SOFA, you need to know what simulation you want to achieve. This means that you need to know what spatial an time integration you want to use. Then, I could answer your question.
Cheers,
Hugo
13 February 2017 at 07:00 #8565LujainBlockedHi Hugo,
Sorry for very late reply and thanks for your reply.
Now my problem is how to generate the liver model from a CT Scan. In other words, I dont know how to connect the liver demo in SOFA with my CT scan data. Can the liver demo be superimposed on the CT image after I modify some mechanical parameters?
I am looking forward ur reply! thanks in advance!
15 February 2017 at 00:14 #8584HugoKeymasterHi Lujain,
Here are my advices for such a pipeline:
- segment your organ (liver) from the medical images: you can do this using the image plugin in SOFA or any external tool like itkSnap. As output you can get either a labeled image or a surface mesh (using itkSnap)
- if you have a labeled image, use the CGAL plugin of SOFA to mesh this segmented image (see this reply from Alex in a forum discussion for detail); if you have a surface mesh, you can use the MeshTetraStuffing or the CGAL plugin to mesh it in the volume
- finally, create your SOFA scene in which you will load the above created mesh
To load and visualise medical images in SOFA, just use the image plugin.
These are the basic steps for generating a mesh from medical images.
Hope this helps,Hugo
22 February 2017 at 07:52 #8663LujainBlockedDear Hugo,
Thanks so much for ur reply and it helps me a lot!
I am trying to build the new verison 16.12 using VS2015 these days but i met some mistakes when i did it.I built successfully the version 16.05 long time ago. So I wonder whether it is a lot of difference between the v16.05 and v16.12. Can I still use the v16.05 to go on my work?I will paste my building mistakes after i change the English version of VS.
Thanks again for ur reply.22 February 2017 at 08:50 #8664HugoKeymasterHi Lujain, nice to hear.
Yes, there is some differences between v16.08 (v16.05 is not an official release) and v16.12, you can find them in our CHANGELOG.md. v16.08 is fine to work on a stable version, but remaining up-to-date is good in order to benefit from all fixes and new features of SOFA. Except if you are developing a prototype (future product), otherwise I would advise you to use the latest release (v16.12).
Shall we close this topic ?
If you still have compilation errors, do not hesitate to create a new specific thread. Alright ?
Best,Hugo
-
AuthorPosts
- You must be logged in to reply to this topic.