September 28, 2021 at 9:06 am #2958grojasParticipant
I need to convert the cortical surface from DFS format to another mesh format (STL, OBJ for example)… How can I do it?
Gonzalo Rojas Costa
September 28, 2021 at 9:34 am #2959Anand JoshiModerator
You can just save the surface with .obj extension. It will be saved in obj format.
Another alternative is to import it in matlab or python and then save it back.
The readers for matlab and python for the dfs format are included in the source code. The file names for them are readdfs.m and dfsio.py.
September 28, 2021 at 9:51 am #2961grojasParticipant
I saved it to obj format using BrainSuite, but I tried to open it using 3DSlicer, but it fails… Why?
Gonzalo Rojas Costa
October 1, 2021 at 1:39 am #2962David ShattuckKeymaster
hi Gonzalo –
The obj format used in BrainSuite is the MNI obj format, which was more widely used when we first developed BrainSuite.
There is a way to get a Wavefront obj file from BrainSuite — if you save out a surface file using .wfo as the extension (I used wfo to represent WaveFront Obj) and then change the extension to .obj, you should be able to use it in programs that read Wavefront Obj files. I do this sometimes when I want to look at BrainSuite surfaces in Meshlab, and it works fine.
You can also use a .stl extension, and the surface will be saved in STL format. Some of our users have used this to 3D print brain models made in BrainSuite.
Just one note — both of these formats lose some of the information that BrainSuite uses in its different functions.
Give it a try and let us know if it works for you.
May 23, 2022 at 3:27 am #3555MartinademParticipant
When the holidays are getting closer and closer, you can begin to feel that festive vibe—celebrations all ‘round! Why not visit one of these best places in India during December!
From Ladakh to Kovalam, there’s no shortage of beautiful venues for your December adventures. Let’s check the top 21 best places to visit in December in India.
- You must be logged in to reply to this topic.