Skip to main content

Single-Image-Dehazing-Python

python implementation of the paper: "Efficient Image Dehazing with Boundary Constraint and Contextual Regularization"

Quickstart

This library performs image dehazing.

Installation

To install, run:

$ pip install image_dehazer

Usage:

import image_dehazer										# Load the library

HazeImg = cv2.imread('image_path')						# read input image -- **must be a color image**
HazeCorrectedImg, HazeMap = image_dehazer.remove_haze(HazeImg)		# Remove Haze

cv2.imshow('input image', HazeImg);						# display the original hazy image
cv2.imshow('enhanced_image', HazeCorrectedImg);			# display the result
cv2.imshow('HazeMap', HazeMap);							# display the HazeMap
cv2.waitKey(0)											# hold the display window


### user controllable parameters (with their default values):
airlightEstimation_windowSze=15
boundaryConstraint_windowSze=3
C0=20
C1=300
regularize_lambda=0.1
sigma=0.5
delta=0.85
showHazeTransmissionMap=True

As easy as that!

Metadata

Release files for image-dehazer 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for image-dehazer 0.0.9
File Size Uploaded
image_dehazer-0.0.9.tar.gz 6.2 kB Details

Release files / image_dehazer-0.0.9.tar.gz

Download URL image_dehazer-0.0.9.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
67323e36fc7c5da604ca8dd1fde9e58197b896e86b75e559174091581b811ad3
BLAKE2b-256 checksum
How to use checksums
e2cc203bef9960516b2403f5811449b12c6ca3f5bd7928d9cd8c9268e43d79d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

0.0.9 This release

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page