segmentation medical image irm

2 次查看(过去 30 天)
lamis ke
lamis ke 2020-7-12
I am doing Brain tissues MRI segmentation using PSO the output is 4 labels image (Gray Matter, White Matter, CSF) after doing segmetation i get this result . now how separate between this colors (classes) in subplots from this to this
  3 个评论

请先登录,再进行评论。

回答(1 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2020-8-2
编辑:KALYAN ACHARJYA 2020-8-2
Lets say "seg_image" is the segmented image. Once segmentation, all regions have different pixels value, please check the pixel value of Gray Matter, White Matter, CSF. The respective resion must have same pixel value.
subplot(131),imshow(seg_image(seg_image==Gray_Matter_pixel value || seg_image==0);
subplot(131),imshow(seg_image(seg_image==White_Matter_pixel value || seg_image==0);
subplot(131),imshow(seg_image(seg_image==CSF_pixel value || seg_image==0);
Any issue let me know?

类别

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

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by