diff --git a/include/hdrplus/params.h b/include/hdrplus/params.h index c309b75..3648c52 100644 --- a/include/hdrplus/params.h +++ b/include/hdrplus/params.h @@ -20,27 +20,49 @@ class RawpyArgs{ int output_bps = 16; }; -class Parameters{ +class Options{ + public: + std::string input = ""; + std::string output = ""; + std::string mode = "full"; //'full' 'align' 'merge' 'finish' + int reference = 0; + float temporalfactor=75.0; + float spatialfactor = 0.1; + int ltmGain=-1; + double gtmContrast=0.075; + int verbose=2; // (0, 1, 2, 3, 4, 5) + +}; + +class Tuning{ public: - std::string tuning_ltmGain = "auto"; - double tuning_gtmContrast = 0.075; + std::string ltmGain = "auto"; + double gtmContrast = 0.075; + std::vector sharpenAmount{1,0.5,0.5}; + std::vector sharpenSigma{1,2,4}; + std::vector sharpenThreshold{0.02,0.04,0.06}; +}; +class Parameters{ + public: std::unordered_map flags{ {"writeReferenceImage",true}, {"writeGammaReference", true}, - {"writeMergedImage", false}, + {"writeMergedImage", true}, {"writeGammaMerged", true}, - {"writeShortExposure", false}, - {"writeLongExposure", false}, - {"writeFusedExposure", false}, - {"writeLTMImage", false}, - {"writeLTMGamma", false}, - {"writeGTMImage", false}, + {"writeShortExposure", true}, + {"writeLongExposure", true}, + {"writeFusedExposure", true}, + {"writeLTMImage", true}, + {"writeLTMGamma", true}, + {"writeGTMImage", true}, {"writeReferenceFinal", true}, {"writeFinalImage", true} }; RawpyArgs rawpyArgs; + Options options; + Tuning tuning; Parameters()= default;