- In what format is the raw (original) image stored?
- How did you load the data into MATLAB (imread or some other command)?
- Does the line shows up when you are viewing the image in MATLAB, or only when you export?
- If it shows up when you are viewing in MATLAB, how are you viewing the image?
- If it is only upon export, are you exporting directly to PNG or are you exporting to PDF?
- How are you exporting the image from MATLAB to PNG (imwrite, print, saveas or some other approach)?
How do I remove line artifacts from an image and why are they caused?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm using CT images and I received a similar artifact to the one I have attached. Can someone please tell me why it is caused and how I can remove it? Prior to this, I blurred the image, could that be a cause? Do let me know, thanks in advance!
9 Kommentare
Walter Roberson
am 30 Jul. 2018
That code only reads 20 floating point numbers (single precision), which is not enough to store an image. Is there a later fopen/fread/fclose as well? Is there possibly a call to multibandread() ?
It is certainly possible to store images as pure binary files, but it is not common to do so (except perhaps temporarily as part of a process of recording them from an instrument that is producing them.)
At the moment we have to wonder how your images are being produced, and whether perhaps the artifact is already present in the data you read in.
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!