資源簡介
本算法適用于多幀曝光融合代碼,同時不同幀間存在著運動物體,比起傳統的HDR,可以極大的避免由于運動物體的出現帶來的鬼影效果,同時又很強的自適應去噪效果,很適合工程實現,
代碼片段和文件信息
from?__future__?import?division
import?cv2
import?numpy?as?np
from?gausskern?import?getNeighborhoodDiffscalcTempStdDevGetKernel
def?astaFilter(frame_window?targetnums):
??“““Takes?as?argument?a?frame_window?which?has?the?current?video?frame?and?its?surrounding
??frames.??The?targetnums?argument?is?a?2d?array?containing?the?target?number?of?pixels?to
??combine?for?each?pixel?in?the?frame.?The?function?first?runs?the?temporal?filter?to?average?
??the?values?of?each?pixel?across?time.??Then?for?each?pixel?it?will?run?the?spatial
??filter?for?that?pixel?at?a?strength?inversely?proportional?to?how?many?pixels
??could?be?combined?with?the?temporal?filter.??Finally?it?returns?a?2d?array?of?all?the?pixels
??for?a?given?video?frame?calculated?by?this?filter“““
??frame?=?frame_window.getMainF
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-10-04?22:13??virtualexposures-master\
?????文件?????????260??2016-10-04?22:13??virtualexposures-master\README
?????文件???????10027??2016-10-04?22:13??virtualexposures-master\astaFilter.py
?????文件????????5539??2016-10-04?22:13??virtualexposures-master\fr
?????文件????????5106??2016-10-04?22:13??virtualexposures-master\gausskern.py
?????文件??????835096??2016-10-04?22:13??virtualexposures-master\results.pdf
?????文件????????1332??2016-10-04?22:13??virtualexposures-master\tonemap.py
- 上一篇:計算機組成原理簡單模型機實驗
- 下一篇:電子萬年歷設計畢業論文
評論
共有 條評論