Clear Filters
Clear Filters

Generation of a binary mask of various brain regions

2 views (last 30 days)
Hello Matlab-Experts,
I would like to install a Nifti.zip which allows me to open AAL files within MATLAB. Furthermore I would like to apply a binary mask for some brain regions and calculate a mean of each region(citalo and placebo).
Does someone know how to do it?
Thanks in advance, Chris
  2 Comments
Ioannis Gkouzionis
Ioannis Gkouzionis on 7 Aug 2021
Hi Chris,
How have you managed to solve this?
Thank you.
Image Analyst
Image Analyst on 7 Aug 2021
@Ioannis Gkouzionis, what exactly is the problem:
  1. Unzipping/extracting code and saving it
  2. Opening AAL files as images
  3. Setting a path to the new code (if necessary)
  4. Segmenting the image into citalo and placebo regions. (Getting binary masks)
  5. Doing the image analysis with the mask to get the area of each region.
Obviously #1 should be easy for you or any computer user.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 15 Feb 2014
I'm not sure what to tell you about unzipping the code and running it. Presumably you can figure that out yourself or with the help of someone next to you.
See my Image Segmentation Tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 and it will help you get regions and calculate means and centroids. Just replace imread() with your AAL file reader function.
  2 Comments
Christoph
Christoph on 16 Feb 2014
Thanks for the answer. Am I right if I have to add to add the unzipped code at the directory set path? The content of the unzipped file can be seen here: http://en.pudn.com/downloads302/sourcecode/math/detail1347716_en.html
Thanks in advance, Chris
Image Analyst
Image Analyst on 16 Feb 2014
If you want to run that code then it must be on the search path. You can use the addpath(genpath()) command.

Sign in to comment.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!