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-rrsc
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
Built Distribution
Close
Hashes for image_array_and_histogram-rrsc-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 529da4f7e2bc1278837a198ef58661b2173b5f15c6bd179a5a6c668659c5d142 |
|
MD5 | 2f4168b0e6c8028d788eb881ba2cb1cd |
|
BLAKE2b-256 | dddf49340d9f1ee210e00ea80fd7cecf532ab5ce581332d6061b33d4d6e60513 |
Close
Hashes for image_array_and_histogram_rrsc-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fad20369ce5e56dcb21c020207fdaf51987ee3542b4d3ed4db665a262e7f635 |
|
MD5 | 1a9079c414e11e4f100d4aa67a84b446 |
|
BLAKE2b-256 | 307d3fc439cd5524e097c427d4cb522fd72273324397ed3e885190d532694b14 |