MRI Image processing in MATLAB

17 次查看(过去 30 天)
nstrn hdr
nstrn hdr 2020-2-14
Hello
I'm Matlab beginner...How can i reach 2th image(MRI after initial filter) of step 4 of this site:
thank you
  4 个评论
nstrn hdr
nstrn hdr 2020-2-20
Thank you for your attention, but if you click on the image of the part "Step 4: Filter Out Noise From the Image" you can clearly see "MRI after initial filter" image (that I brought it under my question). furthermore, the belonging code is the 2nd image of that part too.
I saw your perfect code, but it had an error on my image bcz of it is MRI image, not CT.
Hope you bestt

请先登录,再进行评论。

回答(1 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2025-3-29
编辑:KALYAN ACHARJYA 2025-3-29
As per the referenced link, you can easily access the second segment image. Ensure that the original image is in the current working directory or specify the correct path.
Code:
I = imread('mri_test.png');
thresha = I>150 & I < 260;
imagesc(thresha);colormap(gray);
Result:
For a better understanding of image segmentation, please refer to the materials provided by Image Analyst in the comment section of the question.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by