Solving issue 1894: "White balance adjustements" ; Warning: it is recommended to clear the "cache\data" folder
This commit is contained in:
@@ -46,8 +46,8 @@ namespace rtengine {
|
||||
double camwbRed;
|
||||
double camwbGreen;
|
||||
double camwbBlue;
|
||||
double autowbTemp;
|
||||
double autowbGreen;
|
||||
double redAWBMul, greenAWBMul, blueAWBMul; // multipliers for auto WB
|
||||
double autoWBTemp, autoWBGreen, wbEqual; // autoWBTemp and autoWBGreen are updated each time autoWB is requested and if wbEqual has been modified
|
||||
LUTu aeHistogram;
|
||||
int aeHistCompression;
|
||||
int embProfileLength;
|
||||
@@ -80,11 +80,12 @@ namespace rtengine {
|
||||
void getDimensions (int& w, int& h, double& scaleFac);
|
||||
|
||||
static Thumbnail* loadQuickFromRaw (const Glib::ustring& fname, rtengine::RawMetaDataLocation& rml, int &w, int &h, int fixwh, bool rotate);
|
||||
static Thumbnail* loadFromRaw (const Glib::ustring& fname, RawMetaDataLocation& rml, int &w, int &h, int fixwh, bool rotate);
|
||||
static Thumbnail* loadFromImage (const Glib::ustring& fname, int &w, int &h, int fixwh);
|
||||
static Thumbnail* loadFromRaw (const Glib::ustring& fname, RawMetaDataLocation& rml, int &w, int &h, int fixwh, double wbEq, bool rotate);
|
||||
static Thumbnail* loadFromImage (const Glib::ustring& fname, int &w, int &h, int fixwh, double wbEq);
|
||||
|
||||
void getCamWB (double& temp, double& green);
|
||||
void getAutoWB (double& temp, double& green);
|
||||
void getAutoWB (double& temp, double& green, double equal);
|
||||
void getAutoWBMultipliers (double& rm, double& gm, double& bm);
|
||||
void getSpotWB (const procparams::ProcParams& params, int x, int y, int rect, double& temp, double& green);
|
||||
void applyAutoExp (procparams::ProcParams& pparams);
|
||||
|
||||
|
Reference in New Issue
Block a user