[Image Processing] Detect horizontal lines in image
Mostrar comentarios más antiguos
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 comentarios
Matt J
el 25 de Dic. de 2023
Isn't this the same problem you described here,
Why doesn't the answer you accepted there apply?
Image Analyst
el 25 de Dic. de 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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
