Skip to main content

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 are width*height

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for image-array-and-histogram-rrsc, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size image_array_and_histogram_rrsc-0.0.2-py3-none-any.whl (3.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size image_array_and_histogram-rrsc-0.0.2.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page