Skull Removal of brain using matlab
Show older comments
Hi,
I want to remove the skull from brain Image, one link I found useful in mathworks is http://www.mathworks.cn/matlabcentral/answers/42820-skull-striping-without-affecting-tumor-region, Please tell me What are useful methods for this task is there is any efficient way in matlab to do it without any medical softwares, if there is very good medical software then which one is easy to useful for this purpose. Like this is The http://www.flickr.com/photos/95383933@N08/9339172769/ for which I would strip the skull,
thanks in advance for comments and solutions
Answers (2)
Image Analyst
on 3 Sep 2013
1 vote
First, get rid of the text, if it's in the image. Then threshold the image to binarize it. Then label the image with bwlabel(). Then use ismember to get rid of blob #1 and keep all other blobs. This assumes that there is no strand of brightness that connects the skull to anything inside that you want to keep. So, it's like 2 or 3 lines of code. See if you can do it yourself first, but let us know if you can't.
4 Comments
Muhammad Ali Qadar
on 3 Sep 2013
Image Analyst
on 3 Sep 2013
I didn't say anything about solidity. I was thinking something like
[labeledImage, numberOfBlobs] = bwlabel(binaryImage);
binaryImage2 = ismember(labeledImage, 2:numberOfBlobs);
It will get rid of blob #1 which will be the skull because that is the left most blob as the labeling proceeds from upper left, going down columns until it gets to the lower right corner.
Muhammad Ali Qadar
on 3 Sep 2013
Muhammad Ali Qadar
on 4 Sep 2013
Thomas
on 3 Sep 2013
1 vote
Muhammad,
I use a program known as AFNI for such skull stripping. AFNI has been developed by the National Institute of Health (NIH) AFNI can be found here for download (it's free- http://afni.nimh.nih.gov/afni)
and the part used for skull stripping is called 3dSkullStrip http://afni.nimh.nih.gov/pub/dist/doc/program_help/3dSkullStrip.html
3 Comments
Muhammad Ali Qadar
on 3 Sep 2013
Thomas
on 3 Sep 2013
Muhammad, AFNI works only only a UNIX/Linux based system (Ubuntu, Debian, CentOS, MAC-OSX) You just run your nifiti images throught he 3dSkullStripper and in my experience it does an excellent job around 98% of the time. All the documentation on how to use it is available on the website in my original answer.
Muhammad Ali Qadar
on 4 Sep 2013
Categories
Find more on Image Segmentation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!