[Image Processing] Detect horizontal lines in image
古いコメントを表示
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 件のコメント
Matt J
2023 年 12 月 25 日
Isn't this the same problem you described here,
Why doesn't the answer you accepted there apply?
Image Analyst
2023 年 12 月 25 日
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.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
