Scyllarus: C++ Hyperspectral Processing Library
Hyperspectral Image Processing Pipeline
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Namespaces | Functions
processing.h File Reference
#include <armadillo>
#include <opencv2/opencv.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/ml/ml.hpp>
#include <string>
#include "logger.h"
#include "utility.h"
#include "image_utilities.h"
#include "op_node.h"

Go to the source code of this file.

Namespaces

 scyl
 

Functions

arma::fmat scyl::mix_spectra_vec (const arma::fvec &abundances, const arma::fvec &end_members, bool normalise=true)
 mix_spectra_vec() seems to merely replicate abundances across endmembers many bands. More...
 
arma::fvec scyl::wavelength_subset (const arma::fvec &set, const arma::fvec &bounds)
 wavelength_subset() removes elements from set that are outside of the range of elements in bounds. More...
 
void scyl::pca (const arma::fcube &I, arma::fcube &principal_components, arma::fvec &eigenvalues, int num_components=10, float threshold=0.001)
 
void scyl::unmix_by_spectra (const arma::fcube &I, const arma::fvec &wavelengths, const arma::fmat &spectra, const arma::fvec &spectra_waves, arma::fcube &abundances, arma::ucube &indices, int num_materials=5)
 unmix_by_spectra() takes an input data structure and a list of spectra and calculates abundances for each pixel in the data according to the given spectra. More...
 
void scyl::sam (const arma::fcube &I, const arma::fvec &wavelengths, const arma::fmat &spectra, const arma::fvec &spectra_waves, arma::fcube &angles, arma::ucube &indices, int num_materials=5)
 sam() takes an input data structure and a list of spectra and calculates angles for each pixel to each spectra given, returning the num_materials closest for each pixel. More...
 
void scyl::svm (const arma::fcube &I, const arma::fvec &wavelengths, const arma::fmat &spectra, const arma::fvec &spectra_waves, const arma::uvec &spectra_labels, arma::umat &indices)
 svm() takes an input data structure and a list of spectra and classifies each pixel as one of the given spectra, returning the index map. More...
 
arma::fcube scyl::spectral_derivative (const arma::fcube &I, const arma::fvec &wavelengths)
 
arma::fmat scyl::band_maths (std::vector< const arma::fcube * > images, std::string expression)