How can i remove the horizontal lines in this image?

3 views (last 30 days)
Hi all,
I am trying to enhance degrade image such that it looks similar to the original.
I have used:
img = histeq(img,imhist(img1));
to transfer the original histogram to the degraded image. How can I remove all those "blocks"?
I have tried using a LPF, but in vain.

Accepted Answer

Walter Roberson
Walter Roberson on 4 Oct 2012
Edited: Walter Roberson on 4 Oct 2012
median filter might possibly remove the horizontal lines.
  1 Comment
Rick
Rick on 4 Oct 2012
Edited: Rick on 4 Oct 2012
I have tried this:
img2 = imread('Image2.bmp');
en_img2 = medfilt2(img2);
imshow(en_img2);
The degraded image still have the horizontal lines. Isn't median filter use for "salt and pepper" noise?
EDIT:
I have used this answer found in this link:
Although the enhanced image is not as good as the original. But it is very close to it.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!