package for histogram equalization algorithms and image accuracy measures.
Project description
HistEQKit
HistEQKit is a Python package that provides a collection of histogram equalization algorithms and image accuracy measures for image enhancement and analysis tasks.
Installation
You can install HistEQKit using pip:
pip install -i https://test.pypi.org/simple/ histeqkit
HistEQKit requires Python 3.6 or higher.
Usage
To use HistEQKit, import the desired histogram equalization algorithms from the package, along with OpenCV for image processing. Here's an example:
from histeqkit import algorithms
import cv2
# Load an image
input_image = cv2.imread("/path/to/input_image.png", cv2.IMREAD_GRAYSCALE)
# Apply histogram equalization using an algorithm
ie = algorithms.IE(input_image)
output_image = ie.INVERT()
# Save the output image
cv2.imwrite('output.jpg', output_image)
Make sure to replace "/path/to/input_image.png" with the path to your actual input image.
Algorithms
HistEQKit currently provides the following histogram equalization algorithms:
algorithms.IE: Inverts the intensity values of the input image. Note: This is just an example algorithm. HistEQKit can include other algorithms as well.
Contributing
Contributions to HistEQKit are welcome! If you have any bug fixes, enhancements, or new algorithms/measures to add, please open an issue or submit a pull request on GitHub.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Feel free to customize the content further to provide additional details about the algorithms, accuracy measures, or any other relevant information about your package.
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
Hashes for histeqkit-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c18e610b84c12446b7e67097ce429f1cfb726f8257e12229cc4885279c7df018 |
|
MD5 | cd41dc91e137754c045334cedc9da2ce |
|
BLAKE2b-256 | b6f5b5a2cd50e7a7bffc1029d085fea524c229265dc48f0613048133903f3bf1 |