Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

artifacts in processed images

This question is related to my previous post Image Processing Algorithm in Matlab in stackoverflow, which I already got the results that I wanted to.

But now I am facing another problem, and getting some artefacts in the process images. In my original images (stack of 600 images) I can't see any artefacts, please see the original image from finger nail:

enter image description here

But in my 10 processed results I can see these lines:

enter image description here

I really don't know where they come from?

Also if they belong to the camera's sensor why can't I see them in my original images? Any idea?

Edit:

I have added the following code suggested by @Jonas. It reduces the artefact, but does not completely remove them.

%averaging of images
im = D{1}(:,:);
for i = 2:100
 im = imadd(im,D{i}(:,:));
end
im = im/100;
imshow(im,[]);

for i=1:100
SD{i}(:,:)=imsubtract(D{i}(:,:),im(:,:))
end

@belisarius has asked for more images, so I am going to upload 4 images from my finger with speckle pattern and 4 images from black background size( 1280x1024 ):

image1image2image3iamge4

And here is the black background:

blackbackground1blackbackground2blackbackground3

like image 953
user261002 Avatar asked Jun 13 '12 11:06

user261002


People also ask

What are artifacts in image processing?

An image artifact is any feature which appears in an image which is not present in the original imaged object. An image artifact is sometime the result of improper operation of the imager, and other times a consequence of natural processes or properties of the human body.

What is artifacts in medical images?

In medical imaging, artifacts are misrepresentations of tissue structures produced by imaging techniques such as ultrasound, X-ray, CT scan, and magnetic resonance imaging (MRI).

What causes artefacts in images?

A compression artifact (or artefact) is a noticeable distortion of media (including images, audio, and video) caused by the application of lossy compression.

What causes artifacts in radiography?

Radiographic artifacts commonly occur, particularly with hand processing. The artifacts may originate between the X-ray tube and the cassette as extraneous material on the patient or contamination of positioning aids, or result from debris within the cassette, or damage to, or staining of the screens.


1 Answers

Your artifacts are in fact present in your original image, although not visible. Code in Mathematica:

i = Import@"http://i.stack.imgur.com/5hM3u.png"

enter image description here

EntropyFilter[i, 1]

enter image description here

The lines are faint, but you can see them by binarization with a very low level threshold:

Binarize[i, .001] 

enter image description here

As for what is causing them, I can only speculate. I would start tracing from the camera output itself. Also, you may post two or three images "as they come straight from the camera" to allow us some experimenting.

like image 194
Dr. belisarius Avatar answered Sep 17 '22 17:09

Dr. belisarius