12 #ifndef IMAGE_UTILITIES_H_
13 #define IMAGE_UTILITIES_H_
25 const arma::fvec & wave);
31 const arma::fvec & illuminant,
32 const arma::fvec & wave);
37 const arma::fcube & s,
43 const arma::fcube &
I,
47 const arma::fcube & abundances,
48 const arma::ucube & indexes);
52 const arma::fcube &
I,
53 const arma::fcube & s,
59 const arma::fvec & in_waves,
60 const arma::fvec & in_waves_new);
arma::fcube reconstruct_s_elements(const arma::fmat &elements, const arma::fcube &abundances, const arma::ucube &indexes)
Definition: image_utilities.cpp:243
arma::fmat 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...
Definition: image_utilities.cpp:24
I.
Definition: scyllarus_types.h:114
arma::fcube 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...
Definition: image_utilities.cpp:95
arma::fcube colour_jet(const arma::fmat &in)
Definition: image_utilities.cpp:332
arma::fvec 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 component...
Definition: image_utilities.cpp:292
arma::fcube 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.
Definition: image_utilities.cpp:375
float 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...
Definition: image_utilities.cpp:52
arma::fcube 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.
Definition: image_utilities.cpp:171
arma::fcube 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.
Definition: image_utilities.cpp:214