Misc. comment typo fixes
Found via `codespell`
This commit is contained in:
@@ -2773,8 +2773,8 @@ void ImProcFunctions::ContAllL (float *koeLi[12], float *maxkoeLi, bool lipschit
|
||||
}
|
||||
} else if(cp.EDmet == 1) { //threshold adjuster
|
||||
float MaxPCompare = MaxP[level] * SQR(cp.edg_max / 100.f); //100 instead of b_r...case if b_r < 100
|
||||
float MaxNCompare = MaxN[level] * SQR(cp.edg_max / 100.f); //always rduce a little edge for near max values
|
||||
float edgeSdCompare = (mean[level] + 1.5f * sigma[level]) * SQR(cp.edg_sd / t_r); // 1.5 standard deviation #80% range between mean 50% and 80%
|
||||
float MaxNCompare = MaxN[level] * SQR(cp.edg_max / 100.f); //always reduce a little edge for near max values
|
||||
float edgeSdCompare = (mean[level] + 1.5f * sigma[level]) * SQR(cp.edg_sd / t_r); // 1.5 standard deviation #80% range between mean 50% and 80%
|
||||
float edgeMeanCompare = mean[level] * SQR(cp.edg_mean / t_l);
|
||||
float edgeLowCompare = (5.f + SQR(cp.edg_low));
|
||||
float edgeMeanFactor = cbrt(cp.edg_mean / t_l);
|
||||
@@ -2818,7 +2818,7 @@ void ImProcFunctions::ContAllL (float *koeLi[12], float *maxkoeLi, bool lipschit
|
||||
edge = edgePrecalc;
|
||||
}
|
||||
|
||||
//algorithm that take into account local contrast
|
||||
//algorithm that takes into account local contrast
|
||||
// I use a thresholdadjuster with
|
||||
// Bottom left ==> minimal low value for local contrast (not 0, but 5...we can change)
|
||||
// 0 10*10 35*35 100*100 substantially correspond to the true distribution of low value, mean, standard-deviation and max (ed 5, 50, 400, 4000
|
||||
@@ -2866,7 +2866,7 @@ void ImProcFunctions::ContAllL (float *koeLi[12], float *maxkoeLi, bool lipschit
|
||||
if(edge < 1.f) {
|
||||
edge = 1.f;
|
||||
}
|
||||
}//mofify effect if sd change
|
||||
}//modify effect if sd change
|
||||
|
||||
if (fabs(WavCoeffs_L[dir][k]) < edgeMeanCompare) {
|
||||
edge *= edgeMeanFactor;
|
||||
|
Reference in New Issue
Block a user