commit after pool from trunk and revert to my latest step 2 languages
This commit is contained in:
@@ -157,10 +157,15 @@ void ImProcCoordinator::updatePreviewImage (int todo) {
|
||||
if (todo & M_LUMACURVE)
|
||||
CurveFactory::complexCurve (0.0, 0.0, 0.0, 0.0, params.lumaCurve.brightness, params.lumaCurve.contrast, 0.0, 0.0, false, params.lumaCurve.curve, lhist16, lumacurve, bcLhist, scale==1 ? 1 : 16);
|
||||
|
||||
if (todo & M_LUMINANCE) {
|
||||
/*
|
||||
if (todo & M_LUMINANCE) {
|
||||
progress ("Applying Luminance Curve...",100*readyphase/numofphases);
|
||||
ipf.luminanceCurve (oprevl, nprevl, lumacurve, 0, pH);
|
||||
readyphase++;
|
||||
if (scale==1) {
|
||||
progress ("Denoising luminance impulse...",100*readyphase/numofphases);
|
||||
ipf.impulsedenoise (nprevl);
|
||||
}
|
||||
if (scale==1) {
|
||||
progress ("Denoising luminance...",100*readyphase/numofphases);
|
||||
ipf.lumadenoise (nprevl, buffer);
|
||||
@@ -176,8 +181,8 @@ void ImProcCoordinator::updatePreviewImage (int todo) {
|
||||
}
|
||||
readyphase++;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if (todo & M_COLOR) {
|
||||
progress ("Applying Color Boost...",100*readyphase/numofphases);
|
||||
ipf.colorCurve (oprevl, nprevl);
|
||||
@@ -185,6 +190,10 @@ void ImProcCoordinator::updatePreviewImage (int todo) {
|
||||
if (scale==1) {
|
||||
progress ("Denoising color...",100*readyphase/numofphases);
|
||||
ipf.colordenoise (nprevl, buffer);
|
||||
}
|
||||
if (scale==1) {
|
||||
progress ("Denoising luma/chroma...",100*readyphase/numofphases);
|
||||
ipf.dirpyrdenoise (nprevl);
|
||||
}
|
||||
if (scale==1) {
|
||||
progress ("Wavelet...",100*readyphase/numofphases);
|
||||
@@ -192,6 +201,54 @@ void ImProcCoordinator::updatePreviewImage (int todo) {
|
||||
}
|
||||
readyphase++;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
if (todo & (M_LUMINANCE+M_COLOR) ) {
|
||||
progress ("Applying Luminance Curve...",100*readyphase/numofphases);
|
||||
ipf.luminanceCurve (oprevl, nprevl, lumacurve, 0, pH);
|
||||
readyphase++;
|
||||
progress ("Applying Color Boost...",100*readyphase/numofphases);
|
||||
ipf.colorCurve (oprevl, nprevl);
|
||||
readyphase++;
|
||||
if (scale==1) {
|
||||
progress ("Denoising luminance impulse...",100*readyphase/numofphases);
|
||||
ipf.impulsedenoise (nprevl);
|
||||
}
|
||||
if (scale==1) {
|
||||
progress ("Denoising luminance...",100*readyphase/numofphases);
|
||||
ipf.lumadenoise (nprevl, buffer);
|
||||
}
|
||||
readyphase++;
|
||||
if (scale==1) {
|
||||
progress ("Denoising color...",100*readyphase/numofphases);
|
||||
ipf.colordenoise (nprevl, buffer);
|
||||
}
|
||||
if (scale==1) {
|
||||
progress ("Denoising luma/chroma...",100*readyphase/numofphases);
|
||||
ipf.dirpyrdenoise (nprevl);
|
||||
}
|
||||
if (scale==1) {
|
||||
progress ("Sharpening...",100*readyphase/numofphases);
|
||||
ipf.sharpening (nprevl, (unsigned short**)buffer);
|
||||
}
|
||||
readyphase++;
|
||||
//if (scale==1) {
|
||||
// progress ("Denoising luminance impulse...",100*readyphase/numofphases);
|
||||
// ipf.impulsedenoise (nprevl);
|
||||
//}
|
||||
if (scale==1) {
|
||||
progress ("Wavelet...",100*readyphase/numofphases);
|
||||
ipf.waveletEqualizer (nprevl, true, true);
|
||||
}
|
||||
//if (scale==1) {
|
||||
// progress ("Wavelet...",100*readyphase/numofphases);
|
||||
// ipf.waveletEqualizer (nprevl, false, true);
|
||||
//}
|
||||
|
||||
|
||||
}
|
||||
|
||||
// process crop, if needed
|
||||
for (int i=0; i<crops.size(); i++)
|
||||
|
Reference in New Issue
Block a user