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!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

image_dehazer-0.0.9.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file image_dehazer-0.0.9.tar.gz.

File metadata

  • Download URL: image_dehazer-0.0.9.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for image_dehazer-0.0.9.tar.gz
Algorithm Hash digest
SHA256 67323e36fc7c5da604ca8dd1fde9e58197b896e86b75e559174091581b811ad3
MD5 fc7d379f4936b467cbee0c968f84a067
BLAKE2b-256 e2cc203bef9960516b2403f5811449b12c6ca3f5bd7928d9cd8c9268e43d79d2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.9 This release

1 file

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page