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

Go to the source code of this file.

Classes

class  scyl::material_options
 material_options is used to give options for the material recovery option chosen. More...
 

Namespaces

 scyl
 

Functions

arma::fmat scyl::recover_materials (const arma::fcube &s, const arma::fvec &wavelengths, arma::fcube &abundances, arma::ucube &indices, scyl::MATERIAL_METHOD method=scyl::MATERIAL_DA, scyl::material_options op=scyl::material_options())
 recover_materials() takes an input reflectance cube and returns a list of determined material clusters. More...
 
arma::fmat scyl::recover_materials_DA (const arma::fcube &s, arma::fcube &material_abundancy, int max_clusters=20, float temperature_max=0.02, float temperature_min=0.00025, float cooling_rate=0.8, float split_threshold=-1, int debug=0)
 recover_materials_DA() takes an input reflectance cube and returns a list of determined material clusters. More...
 
void scyl::generate_material_elements (const arma::fcube &s, const arma::fmat &elements, const arma::fcube &material_abundancy, arma::fcube &element_abundances, arma::ucube &element_abundance_indexes, int num_materials=5, int debug=0)
 generate_material_elements() uses the reflectance cube and abundancy cube from recover_materials_DA to calculate the element abundances and abundance indices. More...