[Image Processing] Detect horizontal lines in image
Show older comments
I have a photo that has some black horizontal lines as below. They show all over the whole picture (from the top to bottom).
To eliminate those lines, the process I am thinking about is detecting the positions (in term of row) of the lines first, and then do simple linearly interpolations between the right-above row, and the right-after row of that line.

Is there an effective way to detect the positions (in term of row) of those black horizontal lines.
Any ideas would be appreciated.
Thanks.
2 Comments
Matt J
on 25 Dec 2023
Isn't this the same problem you described here,
Why doesn't the answer you accepted there apply?
Image Analyst
on 25 Dec 2023
The noise is different. Here it's thin, single-line, much darker lines whereas in the other question the dark bands were much wider and not so distinct. In my answer below I replace only the thin noise lines and the rest of the image is unaffected.
Accepted Answer
More Answers (0)
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!