Catalog PyPI
Back to packageRELEASE DETAILS

0.1.1

PyPI

adrishyam

A Python package for image dehazing using Dark Channel Prior

computer-visiondark-channel-priordehazingimage-processing
Published12 Apr 2025
Direct dependencies4
Transitive dependenciesNot calculated

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.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
numpy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
numpy>=1.24.0runtime
pillow
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
pillow>=10.0.0runtime
matplotlib
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
matplotlib>=3.7.0runtime
scipy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
scipy>=1.10.0runtime

Distribution files

2 collected
adrishyam-0.1.1-py3-none-any.whl

bdist_wheel · 4.81 KB · Python py3

Source file
adrishyam-0.1.1.tar.gz

sdist · 4.33 KB · Python source

Source file

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_version:1c6f4c5c4a529d4e25339fc401e89f1071c282964b30c698c7db899c9034cc13

Other collected versions

View all collected versions →