Video 有没有从视频中移除灯光的算法?

Video 有没有从视频中移除灯光的算法?,video,video-processing,lighting,Video,Video Processing,Lighting,有没有从视频中删除照明的算法?我有一个视频,其中一些物体的光线太强。我如何才能在不破坏整个视频的情况下移除该对象的照明?我怀疑最直接的方法是这样的: 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 e

有没有从视频中删除照明的算法?我有一个视频,其中一些物体的光线太强。我如何才能在不破坏整个视频的情况下移除该对象的照明?

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

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