small changes to limits

This commit is contained in:
Desmis
2018-05-01 18:14:36 +02:00
parent 1782024607
commit bab093b0f7
3 changed files with 4 additions and 2 deletions

View File

@@ -1311,6 +1311,7 @@ cmsHPROFILE rtengine::ICCStore::createFromMatrix(const double matrix[3][3], bool
cmsHPROFILE rtengine::ICCStore::createGammaProfile(const procparams::ColorManagementParams &icm, GammaValues &ga)
{
float p[6]; //primaries
ga[5] = 0.0;
ga[6] = 0.0;
enum class ColorTemp {

View File

@@ -529,6 +529,7 @@ Imagefloat* ImProcFunctions::workingtrc(Imagefloat* working, int cw, int ch, int
ga2 = g_a[4] / (1.0 + g_a[4]);
ga3 = 1. / slpos;
ga5 = 0.0;
ga6 = 0.0;
// printf("ga0=%f ga1=%f ga2=%f ga3=%f ga4=%f\n", ga0, ga1, ga2, ga3, ga4);
cmsCIExyY xyD;

View File

@@ -205,8 +205,8 @@ ICMPanel::ICMPanel() : FoldableToolPanel(this, "icm", M("TP_ICM_LABEL")), iuncha
Gtk::VBox * gammaVBox = Gtk::manage(new Gtk::VBox());
gammaVBox->set_spacing(2);
gamm = Gtk::manage(new Adjuster(M("TP_GAMMAWORK_GAMMA"), 0.40, 10.0, 0.001, 2.4));
slop = Gtk::manage(new Adjuster(M("TP_GAMMAWORK_SLOPE"), 0., 100., 0.01, 12.92));
gamm = Gtk::manage(new Adjuster(M("TP_GAMMAWORK_GAMMA"), 0.40, 15.0, 0.001, 2.4));
slop = Gtk::manage(new Adjuster(M("TP_GAMMAWORK_SLOPE"), 0., 150., 0.01, 12.92));
wVBox->pack_start(*gamm, Gtk::PACK_SHRINK);
gamm->show();