Helps in getting array and histogram of a greyscale image. Also, image from the array.
Project description
Image array and histogram
This python package helps you to get an array and histogram of a greyscale image. You can also convert an array to greyscale image.
Installation
$ pip install image-array-and-histogram
Functions
getImageArray(image_object)
: Takes an image object and returns image array. The dimensions of the array is the size of the image.getHist(image_array)
: Takes an image array (of pixels) and returns an array of size 256 as the histogram of the image.getImageFromArray(image_array, width, height)
: Takes an array, width and height and returns an image formed from the passed array. The dimensions of the image arewidth*height
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
File details
Details for the file image_array_and_histogram-1.0.1.tar.gz
.
File metadata
- Download URL: image_array_and_histogram-1.0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.11.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
44b108160f0e27c56fe2fcd20ab2ec206ad4d930352df4cd87098251ec6cbc3a
|
|
MD5 |
a9104373b2fd4f2ee596a65daca70c68
|
|
BLAKE2b-256 |
5ac836e27ecc679a86150b65645219f0387a980e48b858b760d4ad9083a622f8
|