Scyllarus: C++ Hyperspectral Processing Library
Hyperspectral Image Processing Pipeline
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Namespaces | Functions
dichromatic.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.

Namespaces

 scyl
 

Functions

void scyl::recover_dichromatic_parameters (const arma::fcube &I, const arma::fvec &illuminant, arma::fmat &k, arma::fmat &g, float &k_factor, arma::fcube &s, scyl::DICHROMATIC_METHOD method=scyl::DICHROMATIC_LS, int size=-1, int gray_threshold=2, int debug=0)
 recover_dichromatic_parameters() takes an input image I and illuminant and determines the factors g, k, K and S. More...
 
void scyl::recover_dichromatic_parameters_LS (const arma::fcube &I, const arma::fcube &illuminant, arma::fmat &k, arma::fmat &g, arma::fcube &st, int size=5, int gray_threshold=2, int debug=0)
 recover_dichromatic_parameters_LS() takes an input image I and illuminant and determines the factors g, k, and S. More...