Fix compiler warnings

This commit is contained in:
Lawrence Lee
2024-11-17 21:57:03 -08:00
parent cf20964b59
commit 721d664136
3 changed files with 7 additions and 4 deletions

View File

@@ -224,7 +224,7 @@ void ImProcFunctions::ip_wavelet(LabImage * lab, LabImage * dst, int kall, const
{wiprof[2][0], wiprof[2][1], wiprof[2][2]}
};
const int imheight = lab->H, imwidth = lab->W;
int levwavL;
int levwavL = 0;
//Flat curve for H=f(H) in final touchup for guidedfilter
FlatCurve* wavguidCurve = new FlatCurve(params->wavelet.wavguidcurve); //curve H=f(H)
bool wavguidutili = false;
@@ -258,6 +258,8 @@ void ImProcFunctions::ip_wavelet(LabImage * lab, LabImage * dst, int kall, const
cp.complex = 0;
} else if (params->wavelet.complexmethod == "expert") {
cp.complex = 1;
} else {
cp.complex = 0;
}