Merge branch 'dev' into testoutputprofile

This commit is contained in:
Hombre
2018-06-14 21:47:14 +02:00
105 changed files with 3703 additions and 2470 deletions

View File

@@ -452,6 +452,7 @@ struct ColorToningParams {
double labgridAHigh;
double labgridBHigh;
static const double LABGRID_CORR_MAX;
static const double LABGRID_CORR_SCALE;
ColorToningParams();
@@ -471,6 +472,7 @@ struct ColorToningParams {
*/
struct SharpeningParams {
bool enabled;
double contrast;
double radius;
int amount;
Threshold<int> threshold;
@@ -507,6 +509,7 @@ struct SharpenMicroParams {
bool enabled;
bool matrix;
double amount;
double contrast;
double uniformity;
SharpenMicroParams();
@@ -1234,18 +1237,19 @@ struct RAWParams {
struct BayerSensor {
enum class Method {
AMAZE,
IGV,
AMAZEVNG4,
RCD,
DCB,
LMMSE,
IGV,
AHD,
EAHD,
HPHD,
VNG4,
DCB,
AHD,
RCD,
FAST,
MONO,
NONE,
PIXELSHIFT
PIXELSHIFT,
NONE
};
enum class PSMotionCorrectionMethod {
@@ -1254,6 +1258,12 @@ struct RAWParams {
CUSTOM
};
enum class PSDemosaicMethod {
AMAZE,
AMAZEVNG4,
LMMSE
};
Glib::ustring method;
int imageNum;
int ccSteps;
@@ -1273,6 +1283,7 @@ struct RAWParams {
int greenthresh;
int dcb_iterations;
int lmmse_iterations;
double dualDemosaicContrast;
PSMotionCorrectionMethod pixelShiftMotionCorrectionMethod;
double pixelShiftEperIso;
double pixelShiftSigma;
@@ -1283,10 +1294,10 @@ struct RAWParams {
bool pixelShiftGreen;
bool pixelShiftBlur;
double pixelShiftSmoothFactor;
bool pixelShiftLmmse;
bool pixelShiftEqualBright;
bool pixelShiftEqualBrightChannel;
bool pixelShiftNonGreenCross;
Glib::ustring pixelShiftDemosaicMethod;
bool dcb_enhance;
bool pdafLinesFilter;
@@ -1299,6 +1310,9 @@ struct RAWParams {
static const std::vector<const char*>& getMethodStrings();
static Glib::ustring getMethodString(Method method);
static const std::vector<const char*>& getPSDemosaicMethodStrings();
static Glib::ustring getPSDemosaicMethodString(PSDemosaicMethod method);
};
/**
@@ -1306,6 +1320,7 @@ struct RAWParams {
*/
struct XTransSensor {
enum class Method {
FOUR_PASS,
THREE_PASS,
ONE_PASS,
FAST,
@@ -1314,6 +1329,7 @@ struct RAWParams {
};
Glib::ustring method;
double dualDemosaicContrast;
int ccSteps;
double blackred;
double blackgreen;