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-rrsc-0.0.2.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file image_array_and_histogram-rrsc-0.0.2.tar.gz.

File metadata

  • Download URL: image_array_and_histogram-rrsc-0.0.2.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.21.0 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-rrsc-0.0.2.tar.gz
Algorithm Hash digest
SHA256 529da4f7e2bc1278837a198ef58661b2173b5f15c6bd179a5a6c668659c5d142
MD5 2f4168b0e6c8028d788eb881ba2cb1cd
BLAKE2b-256 dddf49340d9f1ee210e00ea80fd7cecf532ab5ce581332d6061b33d4d6e60513

See more details on using hashes here.

File details

Details for the file image_array_and_histogram_rrsc-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: image_array_and_histogram_rrsc-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 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_rrsc-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9fad20369ce5e56dcb21c020207fdaf51987ee3542b4d3ed4db665a262e7f635
MD5 1a9079c414e11e4f100d4aa67a84b446
BLAKE2b-256 307d3fc439cd5524e097c427d4cb522fd72273324397ed3e885190d532694b14

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