Merge with newlocallab...

This commit is contained in:
Pandagrapher
2018-09-25 23:40:09 +02:00
2269 changed files with 56201 additions and 198310 deletions

View File

@@ -286,6 +286,7 @@ struct ToneCurveParams {
int hlcompr; // Highlight Recovery's compression
int hlcomprthresh; // Highlight Recovery's threshold
bool histmatching; // histogram matching
bool fromHistMatching;
bool clampOOG; // clamp out of gamut colours
ToneCurveParams();
@@ -456,6 +457,7 @@ struct ColorToningParams {
double labgridAHigh;
double labgridBHigh;
static const double LABGRID_CORR_MAX;
static const double LABGRID_CORR_SCALE;
ColorToningParams();
@@ -1127,6 +1129,7 @@ struct ResizeParams {
int dataspec;
int width;
int height;
bool allowUpscaling;
ResizeParams();
@@ -1138,22 +1141,22 @@ struct ResizeParams {
* Parameters of the color spaces used during the processing
*/
struct ColorManagementParams {
Glib::ustring input;
bool toneCurve;
bool applyLookTable;
bool applyBaselineExposureOffset;
bool applyHueSatMap;
Glib::ustring inputProfile;
bool toneCurve;
bool applyLookTable;
bool applyBaselineExposureOffset;
bool applyHueSatMap;
int dcpIlluminant;
Glib::ustring working;
Glib::ustring output;
Glib::ustring workingProfile;
Glib::ustring workingTRC;
double workingTRCGamma;
double workingTRCSlope;
Glib::ustring outputProfile;
RenderingIntent outputIntent;
bool outputBPC;
Glib::ustring gamma;
double gampos;
double slpos;
bool freegamma;
static const Glib::ustring NoICMString;
ColorManagementParams();
@@ -1342,6 +1345,17 @@ struct FilmSimulationParams {
};
struct SoftLightParams {
bool enabled;
int strength;
SoftLightParams();
bool operator==(const SoftLightParams &other) const;
bool operator!=(const SoftLightParams &other) const;
};
/**
* Parameters for RAW demosaicing, common to all sensor type
*/
@@ -1354,7 +1368,9 @@ struct RAWParams {
AMAZE,
AMAZEVNG4,
RCD,
RCDVNG4,
DCB,
DCBVNG4,
LMMSE,
IGV,
AHD,
@@ -1380,6 +1396,7 @@ struct RAWParams {
};
Glib::ustring method;
int border;
int imageNum;
int ccSteps;
double black0;
@@ -1437,6 +1454,7 @@ struct RAWParams {
enum class Method {
FOUR_PASS,
THREE_PASS,
TWO_PASS,
ONE_PASS,
FAST,
MONO,
@@ -1480,6 +1498,8 @@ struct RAWParams {
int ff_clipControl;
bool ca_autocorrect;
bool ca_avoidcolourshift;
int caautoiterations;
double cared;
double cablue;
@@ -1547,6 +1567,7 @@ public:
DirPyrEqualizerParams dirpyrequalizer; ///< directional pyramid wavelet parameters
HSVEqualizerParams hsvequalizer; ///< hsv wavelet parameters
FilmSimulationParams filmSimulation; ///< film simulation parameters
SoftLightParams softlight; ///< softlight parameters
int rank; ///< Custom image quality ranking
int colorlabel; ///< Custom color label
bool inTrash; ///< Marks deleted image
@@ -1627,7 +1648,7 @@ public:
void clearGeneral();
int load(const Glib::ustring& fName);
void set(bool v);
void applyTo(ProcParams* destParams) const ;
void applyTo(ProcParams* destParams, bool fromLastSaved = false) const ;
rtengine::procparams::ProcParams* pparams;
ParamsEdited* pedited;