Skip to content
/ gia-abc Public

Python module that provides functions for automatic brightness and contrast optimization of images.

License

Notifications You must be signed in to change notification settings

jgwill/gia-abc

Repository files navigation

astabc

The astabc module is a Python module that provides functions for automatic brightness and contrast optimization of images.

Installation

You can install the astabc module using pip:

pip install astabc

Usage

import astabc

# Read an image from a file
image = astabc._read_image('filename.jpg')

# Perform automatic brightness and contrast optimization
result, alpha, beta = astabc._automatic_brightness_and_contrast(image)

# Correct the brightness and contrast of an image
astabc.correct('filename.jpg', abc=25, output_filename='output.jpg')

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Python module that provides functions for automatic brightness and contrast optimization of images.

Resources

License

Stars

Watchers

Forks

Packages

No packages published