ChitraPy

ChitraPy is a digital Image Processing Library in Python.
Installation
Install ChitraPy with:
pip install ChitraPy
Find the latest version on PyPi
https://pypi.org/project/ChitraPy
Install Dev version
git clone https://github.com/mgautam98/ChitraPy.git
cd ChitraPy
python3 setup.py install
Documentation
https://chitrapy.readthedocs.io/en/latest/
Usage
from ChitraPy import filters, helpers
import matplotlib.pyplot as plt
# Load a sample Image
!wget https://i.imgur.com/D24n5DL.png
img = plt.imread('./D24n5DL.png')
plt.imshow(img)
# invert an image
invert = filters.invert(img)
plt.imshow(invert)
Features
- Crop
- Grayscale
- Negative
- Sepia
- Hue
- Salt and Pepper
- Stretch
- Warp
- Rotate
- Invert
- Gaussian blur
- Quick Blur
- Contrast Enhancement (Histogram Equalization)
- Local Contrast Enhancement
- Add Watermark
- Sobel Edge detection
- Halftoning
- Dither
- resize
- sharpen
- Emboss
- Identity
- Outline
- Monochrome
- Zoom
- Contrast adjustment (Histogram sliding)
References
- https://en.wikipedia.org/wiki/Digital_image_processing
- http://setosa.io/ev/image-kernels/
- http://www.tannerhelland.com/3643/grayscale-image-algorithm-vb6/
- https://www.cs.princeton.edu/courses/archive/fall00/cs426/lectures/dither/dither.pdf
- https://hypjudy.github.io/2017/03/19/dip-histogram-equalization/
Metadata
Release files for ChitraPy 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ChitraPy-0.0.3.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ChitraPy-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.2 kB
Release files / ChitraPy-0.0.3.tar.gz
| Download URL | ChitraPy-0.0.3.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af0f124a29769bb9b887ee8a0c6e7115d9a3b8919f5411aaca37a724b5ef8b6c
|
|
BLAKE2b-256 checksum How to use checksums |
d736ea4234c1e346e8a45e1fd02cc51015b01267db5bdd2442ff66f97179c3fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9
|
Release files / ChitraPy-0.0.3-py3-none-any.whl
| Download URL | ChitraPy-0.0.3-py3-none-any.whl |
|---|---|
| Size | 18.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c46c796f84bc02e066a7ad0ef85c898c0ef67f404a05d5547ecb1ca7d7c9293
|
|
BLAKE2b-256 checksum How to use checksums |
a38abdf02fcdb1bff09274839212e7f7c70810bf6cacae70fa6f0f4b7e0692f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9
|