Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8106257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:24:53+00:00 2026-06-06T00:24:53+00:00

This question is related to my previous post Image Processing Algorithm in Matlab in

  • 0

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( 1280×1024 ):

image1
image2
image3
iamge4

And here is the black background:

blackbackground1
blackbackground2
blackbackground3

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T00:24:54+00:00Added an answer on June 6, 2026 at 12:24 am

    Here is an answer that in opinion will remove the lines more gently than the above mentioned methods:

    im = imread('image.png');   % Original image
    imFiltered = im;            % The filtered image will end up here
    imChanged = false(size(im));% To document the filter performance 
    
    % 1)
    % Compute the histgrams for each column in the lower part of the image
    % (where the columns are most clear) and compute the mean and std each
    % bin in the histogram.
    histograms = hist(double(im(501:520,:)),0:255);
    colMean = mean(histograms,2);
    colStd = std(histograms,0,2);
    
    % 2)
    % Now loop though each gray level above zero and...
    for grayLevel = 1:255
    
        % Find the columns where the number of 'graylevel' pixels is larger than
        % mean_n_graylevel + 3*std_n_graylevel). - That is columns that contains
        % statistically 'many' pixel with the current 'graylevel'. 
        lineColumns = find(histograms(grayLevel+1,:)>colMean(grayLevel+1)+3*colStd(grayLevel+1));
    
        % Now remove all graylevel pixels in lineColumns in the original image
        if(~isempty(lineColumns))
            for col = lineColumns 
                imFiltered(:,col) = im(:,col).*uint8(~(im(:,col)==grayLevel));
                imChanged(:,col) = im(:,col)==grayLevel;
            end
        end 
    end
    
    imshow(imChanged)
    figure,imshow(imFiltered)
    

    Here is the image after filtering

    Filtered Image

    And this shows the pixels affected by the filter

    Pixels affected by filter

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is related to the previous post. How to save file and read
This question is related to a previous post . Is there something comparable to
This question is related with one of my earlier questions.. Previous Post In there
This is a follow-up question related to my previous post . Below is a
This question is related to a previous question of mine That's my current code
This is a CSS related question, I got one good answer from my previous
This is semi-related to my previous question . As that previous question states, I
This post relates to a previous that i posted but the question is different
This question is related to a previous question of mine to which I couldn't
This question is related to a previous post of mine Here . Basically, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.