Extract bone from MR image

14 views (last 30 days)
iijoclu
iijoclu on 8 Feb 2016
Answered: iijoclu on 8 Feb 2016
Hi everyone,
I am trying to extract the bone only from the following MR images. I read them in MatLAB using the dicomread function and then displayed the first 2 of them using imagesc. The last one is displayed in a DICOM viewer app.
What I want to do is to extract the bone from these images (areas in green) and if possible to remove the area in red which is obviously an artefact. I have tried segmenting the image but it doesn't really work.
Any help would be greatly appreciated.
Thank you!

Accepted Answer

Image Analyst
Image Analyst on 8 Feb 2016
You can do it manually with imfreehand. See attached demo. Or else use a more sophisticated algorithm because the computer won't know what it bone and what is artifact based on just the intensity.

More Answers (1)

iijoclu
iijoclu on 8 Feb 2016
Thank you, that is of great help.
I was wondering if you could perhaps help me with a slightly different question. So I have the 3D MR volume (vol) and I want to extract a particular slice in the transverse plane. dx, dy and dz represent the spacing between the slices in each direction (x, y, z respectively). I just don't manage to extract that slice - I have tried using imshow, imagesc, neither of them works.
vol = 512 x 512 x 256 double
Let's say this is the image I want to extract. I have managed to open it like that using the sliceViewer function. I want to assign it to a variable so that I can later extract the bone from it.
Thanks a lot for your help!

Community Treasure Hunt

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

Start Hunting!