Skip to content

Converts RGB colors to reflectance spectra. A rust port of mitsuba-renderer/rgb2spec

License

Notifications You must be signed in to change notification settings

nbvdkamp/rgb2spec-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rgb2spec-rs

crates.io

This crate is a port of rgb2spec, an implementation of the paper "A Low-Dimensional Function Space for Efficient Spectral Upsampling" by Wenzel Jakob and Johannes Hanika.

It can be used to convert RGB colors in various color spaces to coefficent representations of reflectance spectra. These spectra can then be evaluated for wavelengths in the visible spectrum.

Usage

See the crate documentation or examples/ for example usages.

CLI

The crate also includes a command line program that can be used to compute a model and save it to a file. Use cargo run in the crate's root to execute it.

About

Converts RGB colors to reflectance spectra. A rust port of mitsuba-renderer/rgb2spec

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages