semvec/pypi-packages huggingface dataset:
ioknife 0.2.0
knives for io
Requires Python: >3.5

[![Build Status](https://travis-ci.org/podhmo/ioknife.svg?branch=master)](https://travis-ci.org/podhmo/ioknife)

# ioknife

knives for io.

```console
$ ioknife -h
usage: ioknife [-h] [--logging {CRITICAL,FATAL,ERROR,WARN,WARNING,INFO,DEBUG,NOTSET}]
               [--debug DEBUG]
               {rest,grepo,too} ...

positional arguments:
  {rest,grepo,too}

optional arguments:
  -h, --help            show this help message and exit
  --logging {CRITICAL,FATAL,ERROR,WARN,WARNING,INFO,DEBUG,NOTSET}
  --debug DEBUG
```

## subcommands

see [docs](https://github.com/podhmo/ioknife/tree/master/docs)

## Changes

0.2.0

- `ioknife grepo` command is added.
- `ioknife too`, reading commands setting from stdin. (and add --dump-context)

0.1.0

- `ioknife too` command is added.

0.0.0

- `ioknife rest` command is added.
image-array-and-histogram-rrsc 0.0.2
Helps in getting array and histogram of a greyscale image. Also, image from the array.

# 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
```sh
$ 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`