Skip to main content

A package for doing hyper-spectral image augmentation for deep learning.

Project description

HYPer-spectral Image Augmentation (hypia)

The following is a Python package (available through the Python Package Manager (pip)) for the augmentation of hyper-spectral images for uses in deep learning.

Why does this exist?

  • Other image augmentation libraries often only accept RGB or grayscale images (with options for RGBA images usually too). However, in a scientific context, we often have images with more than 3/4 channels (so-called hyper-spectral imaging) and it seemed like a good idea to have an augmentation library which deals with all channels in parallel.
  • Another problem is that some image augmentation frameworks can accept more than 3/4 channels but convert the data to unsigned 8-bit integers (see PyTorch's torchvision) which is damaging for scientific data where we care about the actual numbers of the data. This can lead to the images losing some of the features and relative contrasts of features which is important for our science.

I had a look at several image augmentation packages but none of them seemed to satisfy both of these criteria so here we are.


There are two ways to install this package: either from pip or from source from GitHub.

From pip:

>>> pip install hypia

From GitHub:

>>> git clone
>>> cd hypia
>>> python install


The documentation (including examples) is available here.

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

hypia-0.0.3.tar.gz (6.9 kB view hashes)

Uploaded source

Built Distribution

hypia-0.0.3-py3-none-any.whl (8.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page