Current collected state Current
Observed since 20 Oct, 19:50 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A Python package for image dehazing using Dark Channel Prior
A Python package for image dehazing using Dark Channel Prior algorithm.
pip install adrishyam
from adrishyam import dehaze_image
# Basic usage
dehaze_image(
input_path="path/to/hazy/image.jpg",
output_dir="path/to/output/directory"
)
# Advanced usage with custom parameters
dehaze_image(
input_path="path/to/hazy/image.jpg",
output_dir="path/to/output/directory",
t_min=0.1, # Minimum transmission value (default: 0.1)
patch_size=15, # Size of the local patch (default: 15)
omega=0.95, # Dehazing strength (default: 0.95)
radius=60, # Filter radius for guided filter (default: 60)
eps=0.01, # Regularization parameter (default: 0.01)
show_results=False # Whether to display results (default: False)
)
The package will create the following files in the output directory:
original.png: Original hazy imagedark_channel.png: Dark channel of the imagetransmission.png: Estimated transmission maprefined_transmission.png: Refined transmission mapdehazed.png: Final dehazed imageresult.png: Combined visualization of all stepsMIT License
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 12 Apr 2025 | 4 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:50 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:63a711683d0e1eccedb79285185ca5f905f3fcca1da716905bfb105773272002