Suppress some warning in iplocallab.cc improcfun.cc
This commit is contained in:
parent
b2059f9527
commit
fe014c3d89
@ -257,9 +257,9 @@ void ImProcFunctions::ciecam_02 (CieImage* ncie, double adap, int begh, int endh
|
||||
int width = lab->W, height = lab->H;
|
||||
float minQ = 10000.f;
|
||||
float maxQ = -1000.f;
|
||||
float w_h;
|
||||
float a_w;
|
||||
float c_;
|
||||
float w_h = 0.f;
|
||||
float a_w = 0.f;
|
||||
float c_ = 0.f;
|
||||
float f_l;
|
||||
double Yw;
|
||||
Yw = 1.0;
|
||||
|
@ -4125,7 +4125,7 @@ void ImProcFunctions::Lab_Local (int call, int sp, float** shbuffer, LabImage *
|
||||
float **bufchro = nullptr;
|
||||
float **buflightslid = nullptr;
|
||||
|
||||
int bfh, bfw;
|
||||
int bfh = 0.f, bfw = 0.f;
|
||||
|
||||
|
||||
float adjustr = 1.0f;
|
||||
@ -5254,12 +5254,12 @@ void ImProcFunctions::Lab_Local (int call, int sp, float** shbuffer, LabImage *
|
||||
float Chprov1 = sqrtBuffer[x];
|
||||
sincosval.y = sincosyBuffer[x];
|
||||
sincosval.x = sincosxBuffer[x];
|
||||
float chr;
|
||||
float chr = 0.f;
|
||||
|
||||
#else
|
||||
float aa = transformed->a[y][x];
|
||||
float bb = transformed->b[y][x];
|
||||
float HH, chr;
|
||||
float HH = 0.f, chr = 0.f;
|
||||
|
||||
if (needHH) { // only do expensive atan2 calculation if needed
|
||||
HH = xatan2f (bb, aa);
|
||||
|
Loading…
x
Reference in New Issue
Block a user