ビデオからライティングを削除するアルゴリズムはありますか? 一部のオブジェクトの照明が強すぎるビデオがあります。ビデオ全体を壊すことなく、そのオブジェクトから照明を削除するにはどうすればよいですか?
1 に答える
4
最も簡単なアプローチは次のようなものになると思います。
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
于 2010-02-03T17:12:19.490 に答える