Catalog PyPI
PACKAGE EXPLORERView in registry

adrishyam

PyPI

A Python package for image dehazing using Dark Channel Prior

computer-visiondark-channel-priordehazingimage-processing
Versions collected1
Direct dependencies4From release 0.1.1
Last observed20 Oct, 19:50 UTC

README

Version 0.1.1 documentation

Adrishyam

A Python package for image dehazing using Dark Channel Prior algorithm.

Installation

pip install adrishyam

Usage

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)
)

Output

The package will create the following files in the output directory:

  • original.png: Original hazy image
  • dark_channel.png: Dark channel of the image
  • transmission.png: Estimated transmission map
  • refined_transmission.png: Refined transmission map
  • dehazed.png: Final dehazed image
  • result.png: Combined visualization of all steps

License

MIT License

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.112 Apr 20254

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
krushna-007/adrishyam

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:50 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:63a711683d0e1eccedb79285185ca5f905f3fcca1da716905bfb105773272002