help > 3D mosaic display
Showing 1-2 of 2 posts
Display:
Results per page:
Apr 17, 2020  01:04 PM | Narges Naghibi - Shahid beheshti university
3D mosaic display
Hi everyone

I am trying to use MRIcrGL to create a 3D mosaic representation of the brain. I have tried the existing script "explode", which divides the brain into 12  coronal slices, each in separate frames. The separate representations of the brain slices is the problem that I need to tackle. I want all slices to be shown in a single shot, separated by a distance, as in the following (also attached) figure.
Image




I have tried both the 1.0 and 1.2 windows versions of the app in order to run both the pascal and python versions of the 3D mosaic script, provided in the following links:

https://www.mccauslandcenter.sc.edu/mric...
https://www.nitrc.org/plugins/mwiki/inde...

Neither was helpful, though.

Since the description of the exploded brain script in the manual is presented with a picture exactly the same as what I envisage, I would like to ask if anyone knows the script for producing such a picture, or can help me modify the pre-existing "explode" script in order to show all the slices in a single presentation.

Thanks,
Narges
Attachment: Capture.PNG
Apr 17, 2020  01:04 PM | Chris Rorden
RE: 3D mosaic display
Using v1.2.20200331
  https://github.com/rordenlab/MRIcroGL12/releases
1. Go to MRIcroGL preferences and make sure "Background transparent in bitmaps" is checked
2. Select the menu item Scripting/Template/explode
3. In the scripting panel on the left, uncomment the line
  #gl.savebmp(str(x)+'.png')
 to read
   gl.savebmp(str(x)+'.png')
4. Choose Scripting/Run
5. Open the resulting bitmaps in your favorite bitmap editor (Pixelmator, Photoshop, etc.) and position the images with the overlap you desire relative to each other.

-c