segmentation medical image irm
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/330917/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/330914/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/330917/image.jpeg)
3 Commenti
Risposte (1)
KALYAN ACHARJYA
il 2 Ago 2020
Modificato: KALYAN ACHARJYA
il 2 Ago 2020
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?
Vedere anche
Categorie
Scopri di più su MRI in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!