change maxlevel to 9

This commit is contained in:
Desmis
2019-08-02 08:07:21 +02:00
parent 4278e2232e
commit 6226a2781a

View File

@@ -7162,6 +7162,9 @@ void ImProcFunctions::Lab_Local(int call, int sp, float** shbuffer, LabImage * o
int minwin = min(bfwr, bfhr);
int maxlevelspot = 9;
// adap maximum level wavelet to size of RT-spot
if (minwin * sk < 1024) {
maxlevelspot = 9; //sampling wavelet 512
}
if (minwin * sk < 512) {
maxlevelspot = 8; //sampling wavelet 256