How can I segment brain gray matter from white matter?

9 次查看(过去 30 天)
Hi. How can I segment the gray matter from the white matter from the attached image? Please help me with MATLAB codes.
  2 个评论
MarKf
MarKf 2023-8-5
Your jpeg seems to be a black and white image, you'd need at least a grayscale one to segment gray and white matter (also a neuroscientist may understand what you mean with gm and wm, but this question -same as the pic- is awfully generic).
You can then use a threshold to separate them in a single image. if the image has a gradient or a local bias a local adaptive thresholding method might be useful. There are tools to get the threshold automatically and to create probabilistic maps of the tissues. One example is ft_volumesegment from the fieldtrip toolbox.
Prince Lassemento
Ok! here is another image. Please help me with a matlab code to segment gray matter from matter.

请先登录,再进行评论。

回答(2 个)

Image Analyst
Image Analyst 2023-8-7
Find published algorithms here:
Pick one and code it up yourself, or ask the author to buy the code from them.
  3 个评论
Prince Lassemento
编辑:Prince Lassemento 2023-8-7
Thank you. But I am NOT understanding the interpretation of your codes because working with matlab and coding in matlab is new to me. Can I schedule a zoom meeting with you? prince.73767@gmail.com is my email. I am a first year M.S Research Scholar at IITM, in the department of Biomedical Engineering.
Image Analyst
Image Analyst 2023-8-7
Sorry, I don't do private consulting for Answers people.
To learn fundamental concepts, invest 2 hours of your time here:

请先登录,再进行评论。


Walter Roberson
Walter Roberson 2023-8-7
First of all: you have zero possibility of accurately segmenting a JPEG image (unless it is one of the rare lossless JPEG images). Lossless JPEG blurs edges, and you will not be able to recover from that.
Secondly: A place I used to work spent several years trying to create algorithms to segment brain MRI images, working with brain surgeons and neurophysicts. 72% accuracy we could do routinely; to get past 78% accuracy required a lot of work, at least with real brain MRI.
What we found, in practice, was that getting useful accuracy required switching out of using MRI or CT images, and to instead use MRS -- to effectivelyu do chemical analysis voxel by voxel instead of doing image analysis.
Perhaps our results would have been different if we had had access to Recurrent Neural Network (RNN) technology. Our shallow neural network work did not produce any useful results -- too many false positives, too many false negatives.

类别

Help CenterFile Exchange 中查找有关 Biomedical Imaging 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by