segmentation of brain from CT

I am just trying to segment brain from CT. Is there a way to segment brain from CT data or it is possible to segment brain from only MRI. Anyone can help me with this issue.

Thanks in advance,

Do you mean you would like to remove the skull? Swiss Skull Stripper extension should be able to do that completely automatically. The built-in atlas is optimal for MRI, but if you segment a CT manually then you can use that as atlas and may get better results.

See for example the result it gave for the CTBrain sample data set:



Thank you for your valuable reply.

I have attached the screen shot of the brain segmented from MRI. Will I be able to segment the brain with those grooves and more detail from CT data.

Thanks and regards,


You will not get the same level of detail from CT as from MRI - see below MRI and CT image of the same patient, showing the same image slice:


Hi andras,
Is it possible to get the brain portion automatically without the cerebellum part of the brain(the back lower brain portion)

thank you

Saima Safdar

Contrast between cerebellum and other parts of the brain is not very good but you can try to modify the atlas that the skull stripper module uses and see if it can provide the region you need.

How can i modify the atlas. I do not understand this. Could you please tell me how can I change it.

You can import the atlas labelmap volume node into a segmentation node using Segmentations module, then edit it using Segment Editor module, finally export the segmentation to a labelmap volume node. See segmentation tutorials here.

have you realized the brain extraction on CT? If you can, can you introduce how you do it?
Thank you

What do you mean by extraction of brain on CT? Would you like to remove the skin and skull from the image?

Yes, when I do brain CT, I can remove the bone, but I don’t know how to remove the soft tissue and skin .if you have any good way to deal with it?
Thank you

Yes, this should be quite straightforward by segmenting the brain by thresholding then separating other soft tissues by margin shrinking, island removal, and margin growing.
See step-by-step instructions in CT skull stripping segmentation recipe here: Segmentation recipes for 3D Slicer | 3D Slicer segmentation recipes

You can find more segmentation tutorials here: Documentation/Nightly/Training - Slicer Wiki

Thank you very much for your help!

Dear Andras,

The recipe for CT skull stripping is very helpful, I was wondering if this is implemented in python code as well?

I’ve implemented the procedure in Python, but then the SurfaceWrapSolidify extension was developed, which does a much better job. Both the old and new method is made available by SlicerMorph extension developers in their Segment Endocranium module.