Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arjundixit98/Defogging-Images-using-Dark-Channel-Prior
/ functions
Functions
14 in github.com/arjundixit98/Defogging-Images-using-Dark-Channel-Prior
⨍
Functions
14
◇
Types & classes
1
↓ 23 callers
Function
box
O(1) box filter img - >= 2d image r - radius of box filter
gf.py:6
↓ 5 callers
Function
guided_filter
run a guided filter per-channel on filtering input p I - guide image (1 or 3 channel) p - filter input (n channel) r - win
gf.py:156
↓ 1 callers
Function
_gf_color
Color guided filter I - guide image (rgb) p - filtering input (single channel) r - window radius eps - regularization (roughly, v
gf.py:31
↓ 1 callers
Function
_gf_colorgray
automatically choose color or gray guided filter based on I's shape
gf.py:146
↓ 1 callers
Function
_gf_gray
grayscale (fast) guided filter I - guide image (1 channel) p - filter input (1 channel) r - window raidus eps - r
gf.py:103
↓ 1 callers
Method
get_air_light
(self)
haze_removal.py:38
↓ 1 callers
Method
get_dark_channel
(self, radius=7)
haze_removal.py:25
↓ 1 callers
Method
get_transmission
(self, radius=7, omega=0.95)
haze_removal.py:52
↓ 1 callers
Method
guided_filter
(self, r=60, eps=0.001)
haze_removal.py:65
↓ 1 callers
Method
open_image
(self, img_path)
haze_removal.py:13
↓ 1 callers
Method
recover
(self, t0=0.1)
haze_removal.py:71
↓ 1 callers
Method
show
(self)
haze_removal.py:84
Method
__init__
(self, omega=0.95, t0=0.1, radius=7, r=20, eps=0.001)
haze_removal.py:10
Function
test_gf
()
gf.py:173