Spot-Removal (#2239): Adding recusivity and border handling
Warning: Debug builds will be slow due to the amount of debug output (no problem for Release builds). Code cleanup will be done when after testing phase.
This commit is contained in:
@@ -781,7 +781,12 @@ private:
|
||||
params.toneCurve.brightness = 0;
|
||||
params.toneCurve.contrast = 0;
|
||||
params.toneCurve.black = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Spot Removal
|
||||
if (params.spot.enabled && !params.spot.entries.empty ()) {
|
||||
ipf.removeSpots (baseImg, imgsrc, params.spot.entries, pp, currWB, tr);
|
||||
}
|
||||
|
||||
// at this stage, we can flush the raw data to free up quite an important amount of memory
|
||||
// commented out because it makes the application crash when batch processing...
|
||||
@@ -924,12 +929,6 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
// Spot Removal
|
||||
|
||||
if (params.spot.enabled && !params.spot.entries.empty ()) {
|
||||
ipf.removeSpots (baseImg, imgsrc, params.spot.entries, pp, currWB, tr);
|
||||
}
|
||||
|
||||
// RGB processing
|
||||
|
||||
curve1 (65536);
|
||||
|
Reference in New Issue
Block a user