Turn wavelet.Lmethod
into an integer (by @heckflosse, #4397)
This commit is contained in:
@@ -2453,7 +2453,7 @@ void ImProcFunctions::finalContAllL (float ** WavCoeffs_L, float * WavCoeffs_L0,
|
||||
}
|
||||
}
|
||||
|
||||
int choicelevel = atoi(params->wavelet.Lmethod.data()) - 1;
|
||||
int choicelevel = params->wavelet.Lmethod - 1;
|
||||
choicelevel = choicelevel == -1 ? 4 : choicelevel;
|
||||
|
||||
int choiceClevel = 0;
|
||||
@@ -3266,7 +3266,7 @@ void ImProcFunctions::ContAllL (float *koeLi[12], float *maxkoeLi, bool lipschit
|
||||
}
|
||||
|
||||
// to see each level of wavelet ...level from 0 to 8
|
||||
int choicelevel = atoi(params->wavelet.Lmethod.data()) - 1;
|
||||
int choicelevel = params->wavelet.Lmethod - 1;
|
||||
choicelevel = choicelevel == -1 ? 4 : choicelevel;
|
||||
}
|
||||
|
||||
@@ -3524,7 +3524,7 @@ void ImProcFunctions::ContAllAB (LabImage * labco, int maxlvl, float ** varhue,
|
||||
}
|
||||
|
||||
// to see each level of wavelet ...level from 0 to 8
|
||||
int choicelevel = atoi(params->wavelet.Lmethod.data()) - 1;
|
||||
int choicelevel = params->wavelet.Lmethod - 1;
|
||||
choicelevel = choicelevel == -1 ? 4 : choicelevel;
|
||||
int choiceClevel = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user