Seperate Areas of nearly same intensity levels

3 views (last 30 days)
At the moment i am trying to extract the brain from skull and other surrounding components. At first i removed the skull and background intensities which were of another intensity level as the brain itself. Unfortunately i still have some areas in the volume which have the same intensity as the brain region and are connected to the brain region. I tried to split them form the brain and use bwareaopen() to delete this regions but when applied i also lose some smaller brain areas. I also tried to use bwlabel(), but i get a different label in different images so they weren't useful.
Therefore i would like to create a volume of the brain which also connects this little areas of the brain and delete the smaller regions afterwards, can anybody explain me how to loose these last areas? It tried to use region props to delete the small areas (see code below), but my method didn't work.
if true
CC = bwconncomp(MRIsag);
F = regionprops(CC,'Area');
area = [F.Area];
Brainlabel = find(area>100);
Brain = ismember(CC,Brainlabel);
implay (brain);
end

Accepted Answer

Image Analyst
Image Analyst on 30 Oct 2013
I suggest trying to use imclose() to connect nearby blobs to your brain. Then you can keep your brain and get rid of distant blobs.
  2 Comments
Hugo
Hugo on 31 Oct 2013
I tried that one, but unfortunately the brain also connects to parts the parts that i want to separate in this case.
Image Analyst
Image Analyst on 31 Oct 2013
Then you'll have to try something more sophisticated. Look at VisionBib to see if there's anything published that does that: http://iris.usc.edu/Vision-Notes/bibliography/contents.html

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!