- 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?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 30 de Jul. de 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.
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!