Scyllarus: C++ Hyperspectral Processing Library
Hyperspectral Image Processing Pipeline
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Namespaces | Functions
image_utilities.h File Reference
#include <armadillo>
#include "iso646.h"
#include "logger.h"
#include "nurbs.h"

Go to the source code of this file.

Namespaces

 scyl
 

Functions

arma::fmat scyl::compute_greyscale (const arma::fcube &source, const arma::fvec &wave)
 compute_grayscale returns a single channel grey scale image from a given hyperspectral image cube, approximating the scene's visual appearance to a human eye. More...
 
float scyl::linear_interp (const float wavelength, const int band)
 linear_interp looks up a wavelength for a band (R, G or B) in the scyl::CAMERA_SENSITIVITY table, returning the corresponding float value from the table, or otherwise interpolating one based on the wavelengths position between elements. More...
 
arma::fcube scyl::compute_rgb (const arma::fcube &I, const arma::fvec &illuminant, const arma::fvec &wave)
 compute_rgb creates a pseudo-colour representation of a given hyperspectral image cube. More...
 
arma::fcube scyl::reconstruct_I (const arma::fvec &illuminant, const arma::fmat &k, const arma::fmat &g, const arma::fcube &s, float k_factor)
 reconstruct_I() creates a synthetic version of I based on it's constituents illuminant, k, g, s and big_k. More...
 
arma::fcube scyl::reconstruct_s (const arma::fvec &illuminant, const arma::fmat &k, const arma::fmat &g, const arma::fcube &I, float k_factor)
 reconstruct_s() creates a synthetic version of s based on it's constituents illuminant, k, g, I and k_factor. More...
 
arma::fcube scyl::reconstruct_s_elements (const arma::fmat &elements, const arma::fcube &abundances, const arma::ucube &indexes)
 
arma::fvec scyl::reconstruct_illuminant (const arma::fmat &k, const arma::fmat &g, const arma::fcube &I, const arma::fcube &s, float k_factor)
 reconstruct_illuminant() creates a synthetic version of the illuminant based on given image components I, s, k g and k_factor. More...
 
arma::fcube scyl::colour_jet (const arma::fmat &in)
 
arma::fcube scyl::resample_image (const arma::fcube &in_image, const arma::fvec &in_waves, const arma::fvec &in_waves_new)
 resample_image() is used to change the number of bands an image matrix has using NURBS. More...