Skip to main content

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

[logo.png]

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

App Screenshot

after using the lib

App Screenshot

before using the lib

App Screenshot

after using the lib

App Screenshot

Authors

Acknowledgements

The name IDR was also chosen as a small tribute to a person who inspired me.

License

MIT

Project details


Download files

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

Source Distribution

image_illumination_restoration-0.1.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file image_illumination_restoration-0.1.2.tar.gz.

File metadata

File hashes

Hashes for image_illumination_restoration-0.1.2.tar.gz
Algorithm Hash digest
SHA256 08ea9f69122ea67d40db3ba77eb09732dbf42ac2f78bfa88288e6d42ca343e92
MD5 c26c4e75313c7dd95adf6c91a8e30eb4
BLAKE2b-256 c57b64421053342b546b21349b262c37db8e2376fa3bda04cf855ff420d60fb5

See more details on using hashes here.

File details

Details for the file image_illumination_restoration-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for image_illumination_restoration-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 334c6568f7abdb3dd6845483acfa6e1ceb1918c7d06a9d60fe56bff114f9a172
MD5 b31e85c27c8ac362341c20c1d6d24e94
BLAKE2b-256 b0cc6fbee244d74c535222e080c198fe814be5e8f3131f815c67492b310ac5e1

See more details on using hashes here.

Supported by

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