How can I reduce/replace Metal artifacts on medical images?
Show older comments
Artefact=imread('C:\Users\USER\Desktop\My Research\artefact1.jpg');

Artefact=rgb2gray(Artefact);
Artefact=imadjust(Artefact);
thresh = adaptthresh(Artefact,"ForegroundPolarity","dark");
Artefactmask = imbinarize(Artefact,thresh);
se = strel('disk',2);
Artefactmask = imclose(Artefactmask,se);
11 Comments
xingxingcui
on 28 Sep 2023
Where is your "artefact1.jpg" image? How else do you know what your problem is? How can I help you investigate the problem?@Mohammed Njiti
Mohammed Njiti
on 28 Sep 2023
Image Analyst
on 28 Sep 2023
Images must remain rectangular. So what does "remove" mean to you? You can't have "holes" in an image, but you can replace certain pixels with other values. Would you want to do that? What would you replace the artifacts with? Zero? The surrounding gray levels?
@Mohammed Njiti CT metal artifact reduction is a huge ongoing area of research with a million papers written on it. You won't find a simple off-the-shelf solution in MATLAB. I can tell you though that MAR algorithms usually involve manipulation of the original x-ray projection data. I've never hard of one that operates on the final 3D image.
Rik
on 2 Oct 2023
@Matt, I believe I actually have, but that used a deep learning black box to predict the true density.
Mohammed Njiti
on 2 Oct 2023
Rik
on 2 Oct 2023
Image Analyst asked several questions and Matt explained this is a large area of research.
If you don't understand their comments (since you ignore the content of them), how do you expect to understand an answer?
Rik
on 2 Oct 2023
I believe it was an internal tool from Siemens. It was at least 4 years ago, and my colleague only mentioned it in passing, so I don't know the name. If they actually made a product, it should be on Google. I was mainly working with a noise reduction software, but it wasn't designed for these artifacts.
Mohammed Njiti
on 2 Oct 2023
Mohammed Njiti
on 4 Oct 2023
Accepted Answer
More Answers (0)
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!