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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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