[Image Processing] Remove stripes / horizontal streaks in image
16 ビュー (過去 30 日間)
古いコメントを表示
I have a photo that has some kind of horizontal stripes as below. They show very clear in the darker region at the bottom.
Is there a way to remove them (destripe) or minimize the effect of horizontal stripes but still keep the image look reasonable, not blurry.
Any ideas would be appreciated.
Thanks.
0 件のコメント
採用された回答
その他の回答 (1 件)
Image Analyst
2023 年 10 月 6 日
Hopefully the white part is not overexposed. If not, then the common way to do it is to take the mean of the image horizontally over the uniform (i.e., white) parts and then get a measure of exposure. Then divide the image by that vector to "undo" the differences in exposure.
You can find the white parts outside of the car by thresholding for the car and then taking the bounding box. Then sum across columns and count white pixels across columns and divide the two to get the mean across columns in the white area. Then divide each column by that resul.
2 件のコメント
Image Analyst
2023 年 10 月 8 日
I think it looks right. You might plot m as a function of row to see that you have a nice looking step-like profile. Also use imadjust to expand contrast in the white region to make sure it looks like uniform horizontal stripes. Even with all that, if the gain changes across columns, then it may not do a perfect job, and you'll just have to figure out how to do your subsequent analyses with stripes still partially there.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!