是否有任何算法可以从视频中去除灯光?

发布于 2024-08-20 07:11:27 字数 67 浏览 6 评论 0原文

是否有任何算法可以从视频中去除灯光?我有一个视频,其中某些物体的光线太强。如何在不损坏整个视频的情况下移除该对象的光照?

Are there any algorithms for removing lighting from video? I have a video in which some objects are too strongly lit. How might I remove lighting from that objects without corrupting the entire video?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

葬花如无物 2024-08-27 07:11:28

我怀疑最直接的方法是这样的:

for each frame in video
    convert to HSL
    select connected pixels which have luminance above a certain threshold
    convert those areas that are "large" to regions
    expand regions or soften the region (soft mask, Gaussian blur)
    mask original image to that area
    apply either brightness/contrast or histogram equalize on that area
    overlay back onto original image

I suspect that the most straight forward approach will be something like this:

for each frame in video
    convert to HSL
    select connected pixels which have luminance above a certain threshold
    convert those areas that are "large" to regions
    expand regions or soften the region (soft mask, Gaussian blur)
    mask original image to that area
    apply either brightness/contrast or histogram equalize on that area
    overlay back onto original image
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文