60 arma::fmat & light_estimation_mask,
61 arma::fmat & contrast_mask,
62 arma::fmat & highlight_mask,
68 const arma::fmat & illuminant,
72 float & dichromatic_error,
85 bool filtered_already=
false,
92 bool filtered_already=
false,
int patch_size
Definition: illuminant.h:48
arma::fvec recover_illuminant_GW(const arma::fcube &I, int debug=0)
recover_illuminant_GW() takes an input image I and determines the illuminant.
Definition: illuminant.cpp:1244
arma::fvec recover_illuminant_HRK(const arma::fcube &I, arma::umat &patches, float alpha, int patch_size, bool filtered_already=false, bool fast_50=true, int debug=0)
recover_illuminant_HRK() takes an input image I and determines the illuminant.
Definition: illuminant.cpp:119
int debug
debug - Used for all
Definition: illuminant.h:55
arma::fvec recover_illuminant_WP(const arma::fcube &I, int debug=0)
recover_illuminant_WP() takes an input image I and determines the illuminant.
Definition: illuminant.cpp:1366
HRK - Use Huynh Robles-Kelly method for illuminant recovery.
Definition: scyllarus_types.h:63
I.
Definition: scyllarus_types.h:114
arma::umat patches
patches - Used for HRK
Definition: illuminant.h:43
ILLUMINANT_METHOD
Definition: scyllarus_types.h:62
arma::fvec recover_global_illuminant(const arma::fcube &I, scyl::ILLUMINANT_METHOD method=scyl::ILLUMINANT_HRK, scyl::illuminant_options op=scyl::illuminant_options())
recover_global_illuminant() takes an input image I and determines the illuminant. ...
Definition: illuminant.cpp:37
bool filtered_already
filtered_already - Used for HRK
Definition: illuminant.h:50
illuminant_options is used to give options for the Illuminant recovery option chosen.
Definition: illuminant.h:30
~illuminant_options()
Definition: illuminant.h:43
arma::fvec recover_illuminant_GE(const arma::fcube &I, int order=1, int debug=0)
recover_illuminant_GE() takes an input image I and determines the illuminant.
Definition: illuminant.cpp:1177
int patch_dichromatic_decompose(const arma::fcube &patch, const arma::fmat &illuminant, arma::fmat &g_out, arma::fmat &k_out, arma::fvec &s_out, float &dichromatic_error, float &smooth_error, float alpha=50, int debug=0)
patch_dichromatic_decompose() looks at a image patch and determines if the patch is suitable for use ...
Definition: illuminant.cpp:743
bool fast_50
Definition: illuminant.h:52
int order
order - Used for GE, SG
Definition: illuminant.h:54
illuminant_options()
Definition: illuminant.h:33
arma::fvec recover_illuminant_SG(const arma::fcube &I, int order=2, int debug=0)
recover_illuminant_SG() takes an input image I and determines the illuminant.
Definition: illuminant.cpp:1302
float alpha
Definition: illuminant.h:46
arma::umat select_smooth_patches(const arma::fcube &I, arma::umat &patches, arma::fmat &light_estimation_mask, arma::fmat &contrast_mask, arma::fmat &highlight_mask, int patch_size=20, int num_patches=50, int debug=0)
select_smooth_patches() returns a list of the first num_patches smooth patches it finds while inspect...
Definition: illuminant.cpp:534
arma::fvec recover_illuminant_FS(const arma::fcube &I, arma::umat &patches, int patch_size=20, bool filtered_already=false, int debug=0)
recover_illuminant_FS() takes an input image I and determines the illuminant.
Definition: illuminant.cpp:928