12 #ifndef DICHROMATIC_H_
13 #define DICHROMATIC_H_
27 const arma::fvec & illuminant,
38 const arma::fcube & illuminant,
I.
Definition: scyllarus_types.h:114
DICHROMATIC_METHOD
Definition: scyllarus_types.h:74
void 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...
Definition: dichromatic.cpp:32
LS - Use least squares method of dichromatic recovery.
Definition: scyllarus_types.h:76
void 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 ...
Definition: dichromatic.cpp:139