有没有从视频中去除光照的算法?我有一个视频,其中一些物体太亮了。如何在不破坏整个视频的情况下从该对象中移除照明?
问问题
65 次
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 回答