Restored color boost tool; fixed bug in simpleprocess.cc for saving output.
This commit is contained in:
parent
adbb1ee7ab
commit
af4a6534ef
@ -129,7 +129,7 @@ class CurveFactory {
|
|||||||
public:
|
public:
|
||||||
// static void updateCurve3 (int* curve, int* ohistogram, const std::vector<double>& cpoints, double defmul, double ecomp, int black, double hlcompr, double shcompr, double br, double contr, double gamma_, bool igamma, int skip=1);
|
// static void updateCurve3 (int* curve, int* ohistogram, const std::vector<double>& cpoints, double defmul, double ecomp, int black, double hlcompr, double shcompr, double br, double contr, double gamma_, bool igamma, int skip=1);
|
||||||
static void complexCurve (double ecomp, double black, double hlcompr, double shcompr, double br, double contr, double defmul, double gamma_, bool igamma, const std::vector<double>& curvePoints, unsigned int* histogram, int* outCurve, unsigned int* outBeforeCCurveHistogram, int skip=1);
|
static void complexCurve (double ecomp, double black, double hlcompr, double shcompr, double br, double contr, double defmul, double gamma_, bool igamma, const std::vector<double>& curvePoints, unsigned int* histogram, int* outCurve, unsigned int* outBeforeCCurveHistogram, int skip=1);
|
||||||
static void complexsgnCurve (double satclip, double satcompr, double saturation, double colormult, const std::vector<double>& curvePoints, int* outCurve, int skip);
|
static void complexsgnCurve (double satclip, double satcompr, double saturation, double colormult, const std::vector<double>& curvePoints, int* outCurve, int skip=1);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -167,7 +167,7 @@ void Crop::update (int todo, bool internal) {
|
|||||||
parent->ipf.chrominanceCurve (laboCrop, labnCrop, 0, parent->chroma_acurve, 0, croph);
|
parent->ipf.chrominanceCurve (laboCrop, labnCrop, 0, parent->chroma_acurve, 0, croph);
|
||||||
parent->ipf.chrominanceCurve (laboCrop, labnCrop, 1, parent->chroma_bcurve, 0, croph);
|
parent->ipf.chrominanceCurve (laboCrop, labnCrop, 1, parent->chroma_bcurve, 0, croph);
|
||||||
|
|
||||||
//parent->ipf.colorCurve (laboCrop, labnCrop);
|
parent->ipf.colorCurve (laboCrop, labnCrop);
|
||||||
|
|
||||||
if (skip==1) {
|
if (skip==1) {
|
||||||
parent->ipf.impulsedenoise (labnCrop);
|
parent->ipf.impulsedenoise (labnCrop);
|
||||||
|
@ -216,9 +216,9 @@ void ImProcCoordinator::updatePreviewImage (int todo) {
|
|||||||
|
|
||||||
readyphase++;
|
readyphase++;
|
||||||
progress ("Applying Color Boost...",100*readyphase/numofphases);
|
progress ("Applying Color Boost...",100*readyphase/numofphases);
|
||||||
//ipf.colorCurve (oprevl, nprevl);
|
|
||||||
ipf.chrominanceCurve (oprevl, nprevl, 0, chroma_acurve, 0, pH);
|
ipf.chrominanceCurve (oprevl, nprevl, 0, chroma_acurve, 0, pH);
|
||||||
ipf.chrominanceCurve (oprevl, nprevl, 1, chroma_bcurve, 0, pH);
|
ipf.chrominanceCurve (oprevl, nprevl, 1, chroma_bcurve, 0, pH);
|
||||||
|
ipf.colorCurve (nprevl, nprevl);
|
||||||
|
|
||||||
readyphase++;
|
readyphase++;
|
||||||
if (scale==1) {
|
if (scale==1) {
|
||||||
|
@ -152,9 +152,9 @@ IImage16* processImage (ProcessingJob* pjob, int& errorCode, ProgressListener* p
|
|||||||
// luminance processing
|
// luminance processing
|
||||||
CurveFactory::complexCurve (0.0, 0.0, 0.0, 0.0, params.labCurve.brightness, params.labCurve.contrast, 0.0, 0.0, false, params.labCurve.lcurve, hist16, curve, NULL);
|
CurveFactory::complexCurve (0.0, 0.0, 0.0, 0.0, params.labCurve.brightness, params.labCurve.contrast, 0.0, 0.0, false, params.labCurve.lcurve, hist16, curve, NULL);
|
||||||
ipf.luminanceCurve (labView, labView, curve, 0, fh);
|
ipf.luminanceCurve (labView, labView, curve, 0, fh);
|
||||||
CurveFactory::complexsgnCurve (0.0, 100.0, params.labCurve.saturation, 1.0, params.labCurve.acurve, curve, NULL);
|
CurveFactory::complexsgnCurve (0.0, 100.0, params.labCurve.saturation, 1.0, params.labCurve.acurve, curve, 1);
|
||||||
ipf.chrominanceCurve (labView, labView, 0, curve, 0, fh);
|
ipf.chrominanceCurve (labView, labView, 0, curve, 0, fh);
|
||||||
CurveFactory::complexsgnCurve (0.0, 100.0, params.labCurve.saturation, 1.0, params.labCurve.bcurve, curve, NULL);
|
CurveFactory::complexsgnCurve (0.0, 100.0, params.labCurve.saturation, 1.0, params.labCurve.bcurve, curve, 1);
|
||||||
ipf.chrominanceCurve (labView, labView, 1, curve, 0, fh);
|
ipf.chrominanceCurve (labView, labView, 1, curve, 0, fh);
|
||||||
|
|
||||||
ipf.impulsedenoise (labView);
|
ipf.impulsedenoise (labView);
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of RawTherapee.
|
* This file is part of RawTherapee.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user