Skip to content

实现暗通道去雾算法 Realizing 'Single Image Haze Removal Using Dark Channel Prior'

Notifications You must be signed in to change notification settings

anhenghuang/dehaze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dehaze 暗通道去雾

Realizing Kaiming He's paper 'Single Image Haze Removal Using Dark Channel Prior'

  • 雾霾天一定是白天,天色灰蒙蒙的。因此在计算大气光时,我假设最亮部分是灰白色,那RGB应该都很接近255,so没必要分开算R/G/B,具体见代码
  • When I calculate the A(atmosphere), I simply suppose the brightest spot is approximately white(gray). So the RGB value of that point should be almost same
  • 使用导向滤波精确透光率
  • Using the guided filter now.
去雾前 去雾后
原图 结果
原图 结果
原图 结果
原图 结果
原图 结果

About

实现暗通道去雾算法 Realizing 'Single Image Haze Removal Using Dark Channel Prior'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages