Current collected state Current
Observed since 20 Oct, 19:50 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
adrishyam
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.
| Package / target | Requirement | Relationship |
|---|---|---|
numpyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | numpy>=1.24.0 | runtime |
pillowEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pillow>=10.0.0 | runtime |
matplotlibEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | matplotlib>=3.7.0 | runtime |
scipyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | scipy>=1.10.0 | runtime |
bdist_wheel · 4.81 KB · Python py3
sdist · 4.33 KB · Python source
Observed since 20 Oct, 19:50 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:1c6f4c5c4a529d4e25339fc401e89f1071c282964b30c698c7db899c9034cc13