semvec/pypi-packages huggingface dataset:
image-dehazer 0.0.9
remove haze from images
License: MIT
Keywords: Single Image Dehazing,Haze Removal

# 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:
```Python
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!