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.

Source Distribution

image_array_and_histogram-1.0.0.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file image_array_and_histogram-1.0.0.tar.gz.

File metadata

  • Download URL: image_array_and_histogram-1.0.0.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

Hashes for image_array_and_histogram-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ac6b2e7fa464f60d7081d72b4355ab632bd99beebe823e1a00b7ab8f17db7e90
MD5 2176a473d580dd9515069b2f44172cdb
BLAKE2b-256 2b39b6fd01ee24155485075843174819bb156e052dfafec6de583a131fd3b901

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