Skip to main content

A simple image processing package.

Project description

pyimage

The pyimage package is a Python library that provides simple and expressive manual image processing techniques. It aims to provide an easy toolkit for begginer users in order to develop their image treatment projects. It is already well on its way towards this goal.

Main Features

Here are some of the implemented features:

  • Easy way to read, write and display images
  • Image resizing to any dimension
  • RGB to grayscale conversion
  • Image blurring and sharpening methods
  • Image filtering by thresholding
  • Visualization of the histogram of the image
  • Inverse image obtention

Installation

Use the package manager pip to install pyimage.

pip install pyimage

Usage

import pyimage

# loads 'image' from 'path'
img = pyimage.Methods.read_image('path','image')

# converts img to grayscale
gray = pyimage.Methods.grayscale(img)

# sharpen img with a 100x100 kernel
sharp = pyimage.Methods.sharpen(img, 100)

# displays both images
pyimage.Methods.show_image(img)
pyimage.Methods.show_image(gray)
pyimage.Methods.show_image(sharp)

Original image Image on grayscale Image sharpened

Dependencies

  • NumPy - Adds support for large, multi-dimensional arrays, matrices and high-level mathematical functions to operate on these arrays
  • Matplotlib - Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python. Matplotlib makes easy things easy and hard things possible.
  • OpenCV - OpenCV provides a real-time optimized Computer Vision library, tools, and hardware.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

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

pyimg_process-0.0.1.tar.gz (376.4 kB view details)

Uploaded Source

Built Distribution

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

pyimg_process-0.0.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file pyimg_process-0.0.1.tar.gz.

File metadata

  • Download URL: pyimg_process-0.0.1.tar.gz
  • Upload date:
  • Size: 376.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for pyimg_process-0.0.1.tar.gz
Algorithm Hash digest
SHA256 014e463f4bf6917a4a9af7c214a00e957c306e9bc22e29f8cfe36d605b428323
MD5 049072caa93a99a191c6dc5e3561017c
BLAKE2b-256 6e2b4025083f5c7fac773cd35f8d92c5f3b3a42676274f509735a1ae9e7d6d6c

See more details on using hashes here.

File details

Details for the file pyimg_process-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyimg_process-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for pyimg_process-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a7c42e7de26dbb70175a091cd7c9d449a34e4147e496f696daafe236bcab80ae
MD5 fda5fce211fbc75436792c44df0d6513
BLAKE2b-256 b2e5d58e9cddd6760e28e169104d38dcbc874eb79716fa1fbd3507824468051d

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