merge with dev
This commit is contained in:
@@ -56,19 +56,48 @@ void adjust_radius(const T &default_param, double scale_factor, T ¶m)
|
||||
class ImageProcessor
|
||||
{
|
||||
public:
|
||||
ImageProcessor(ProcessingJob* pjob, int& errorCode,
|
||||
ProgressListener* pl, bool flush):
|
||||
ImageProcessor(
|
||||
ProcessingJob* pjob,
|
||||
int& errorCode,
|
||||
ProgressListener* pl,
|
||||
bool flush
|
||||
) :
|
||||
job(static_cast<ProcessingJobImpl*>(pjob)),
|
||||
errorCode(errorCode),
|
||||
pl(pl),
|
||||
flush(flush),
|
||||
// internal state
|
||||
ipf_p(nullptr),
|
||||
ii(nullptr),
|
||||
imgsrc(nullptr),
|
||||
fw(-1),
|
||||
fh(-1),
|
||||
pp(0, 0, 0, 0, 0)
|
||||
fw(0),
|
||||
fh(0),
|
||||
tr(0),
|
||||
pp(0, 0, 0, 0, 0),
|
||||
calclum(nullptr),
|
||||
autoNR(0.f),
|
||||
autoNRmax(0.f),
|
||||
tilesize(0),
|
||||
overlap(0),
|
||||
ch_M(nullptr),
|
||||
max_r(nullptr),
|
||||
max_b(nullptr),
|
||||
min_b(nullptr),
|
||||
min_r(nullptr),
|
||||
lumL(nullptr),
|
||||
chromC(nullptr),
|
||||
ry(nullptr),
|
||||
sk(nullptr),
|
||||
pcsk(nullptr),
|
||||
expcomp(0.0),
|
||||
bright(0),
|
||||
contr(0),
|
||||
black(0),
|
||||
hlcompr(0),
|
||||
hlcomprthresh(0),
|
||||
baseImg(nullptr),
|
||||
labView(nullptr),
|
||||
autili(false),
|
||||
butili(false)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -921,7 +950,7 @@ private:
|
||||
float satLimit = float (params.colorToning.satProtectionThreshold) / 100.f * 0.7f + 0.3f;
|
||||
float satLimitOpacity = 1.f - (float (params.colorToning.saturatedOpacity) / 100.f);
|
||||
|
||||
if (params.colorToning.enabled && params.colorToning.autosat) { //for colortoning evaluation of saturation settings
|
||||
if (params.colorToning.enabled && params.colorToning.autosat && params.colorToning.method != "LabGrid") { //for colortoning evaluation of saturation settings
|
||||
float moyS = 0.f;
|
||||
float eqty = 0.f;
|
||||
ipf.moyeqt(baseImg, moyS, eqty); //return image : mean saturation and standard dev of saturation
|
||||
|
Reference in New Issue
Block a user