how to remove artifacts in mri scan images

5 views (last 30 days)
saranya
saranya on 28 Mar 2014
Answered: Image Analyst on 29 Mar 2014
I have an MRI image in which it contains artifacts and white labels,kindly tell how to remove these labels and artifacts,I have uploaded the image
  3 Comments
saranya
saranya on 29 Mar 2014
i want to remove artifacts from dis image?which algorithm is best?i found one algorithm Step 1: Read the MRI image and store it in a two dimensional matrix. Step 2: Select the peak threshold value for removing white labels Step 3: Set flag value to 255. Step 4: Select pixels whose intensity value is equal to 255. Step 5:If the intensity value is 255 then, the flag value is set to zero and thus the labels are removed from MRI.
is it good?how to implement dis algorithm?

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 29 Mar 2014
You can do this:
pureWhitePixels = grayImage == 255;
grayImage(pureWhitePixels) = 0;
How good is that algorithm? OK but not super robust. If there are any pixels inside the head, then is will blacken those too. Better is to first identify the head, then to blacken everything outside that. Even that will have a problem if there is some annotation that overlaps the head, because those white pixels would remain. To get rid of that you need to determine if it's annotation or part of the head.
Best is to not even use the annotated image and to use the image itself, without any annotation. Why is that not available? Or is it? If you have a dicom or proprietary format image file, the image pixel data alone should be available.

Tags

Community Treasure Hunt

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

Start Hunting!