Image_Illumination_&_Restoration
Project description
Image_Illumination_&_Restoration (IDR)
IDR is a lightweight Python library to automatically enhance dark or overly exposed images. It automatically adjusts brightness and contrast
Features
- Automatic detection and enhancement of dark images.
- Brightness and contrast correction.
- Simple one-line usage.
- Adaptive histogram equalization (CLAHE).
File Formats Supported
- .png
- .jpg
- .jpeg
- .bmp
- .tif
- .tiff
Installation
pip install image-illumination-restoration
Usage
import idr
# Enhance a dark image
idr.em("dark.jpg")
print("done")
or
import idr
idr.em(
input_path="dark.jpg",
output_dir="./enhanced",
verbose=True # Enable to check min/max values and diagnose black output
)
Demo
before using the lib
after using the lib
before using the lib
after using the lib
Authors
Acknowledgements
The name IDR was also chosen as a small tribute to a person who inspired me.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file image_illumination_restoration-0.1.3.tar.gz.
File metadata
- Download URL: image_illumination_restoration-0.1.3.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f4a04cd3eec79f6eb7b2d1413714aa7b07ff3fb3eab318a21cf86c14297a1a5
|
|
| MD5 |
2333952c6e8b89d76394a389b50cb307
|
|
| BLAKE2b-256 |
0779bed1134e2ff5e5bd27d95ca37f8183daeca89f12b30e728ef37b73a0e39a
|
File details
Details for the file image_illumination_restoration-0.1.3-py3-none-any.whl.
File metadata
- Download URL: image_illumination_restoration-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9472733e53672b6ffee37e14a3640d6d14750b951da7ec715e9e7187ab0d969
|
|
| MD5 |
c44690fce0324f06ed74a2a4ee3196ee
|
|
| BLAKE2b-256 |
5e6313477d0cefa2ecb639d434b0088c04acce545a4e62a3ab7b78f64178f2f2
|