Skip to main content

A tool to transform spectral images into RGB representation.

Project description

Color rendering of spectra

This module can convert spectra to RGB. It is inspired by John Walkers specrend.c and the respective python version of Andrew Hutchins, but is completely rewritten.

Usage:

spectralimage = ... #some spectral image
spectralbands = ... #the corresponding wavelengths
converter = SpecRGBConverter(spectralbands)
rgbimage = converter.spectrum_to_rgb(spectralimage)

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

specrend-0.0.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

specrend-0.0.2-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file specrend-0.0.2.tar.gz.

File metadata

  • Download URL: specrend-0.0.2.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for specrend-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8da20114caefa6cd8dcddd6f779fd31725f264afe6a8619d2cb9b9103166db5d
MD5 91e1319793b714f4295ac7346396c31f
BLAKE2b-256 d0b4daa2b66e1fe0a04a8b41463ac347e5df9b5207936d998de4644cdd3b7805

See more details on using hashes here.

File details

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

File metadata

  • Download URL: specrend-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for specrend-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 88790d447745094a1e1808a14b354cf233f6756c86a3ff8d8fa6adea416e2e02
MD5 db484ea33abd10aaadcaaffc0cbe7cc0
BLAKE2b-256 c209052f321931a64a37bfabb57850fb665b81fbe7bb6b282ed83c628d6c1b2a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page