English 中文(简体)
Are there any algorithms for removing lighting from a video?
原标题:

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?

最佳回答

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
问题回答

暂无回答




相关问题
Non-linear video editing tool/API?

Can anyone recommend a good library that would enable me to write an application that can blend multiple input videos into one output video (for example into a split screen). I don t care about the ...

WPF playing a video, shopping up, can I preload?

Im showing a video int my application, but its being chopped up, its locally on disc so I dont understand why this is so... any way i can start to preload it before playing it - so the content would ...

FLVs on timeline are glitching out

I have a Movieclip with about five FLV movies embedded on its timeline, one after another. I am loading multiple instances (about 5-10) of this movieclip onto the stage. Once added to the stage, they ...

Get the dimensions of a H.264 MP4

Does anybody know a ready-made, reliable way to tell the dimensions (width x height) of a MP4 encoded using the H.264 codec without ffmpeg or similar extensions, in pure PHP? Thanks for all the ...

热门标签