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
Close
Hashes for image_array_and_histogram-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac6b2e7fa464f60d7081d72b4355ab632bd99beebe823e1a00b7ab8f17db7e90 |
|
MD5 | 2176a473d580dd9515069b2f44172cdb |
|
BLAKE2b-256 | 2b39b6fd01ee24155485075843174819bb156e052dfafec6de583a131fd3b901 |