I am not clear if the Local Threshold is causing a problem or you are just commenting on the code?
Local Threshold causes. But for me it should be a way to supress the log window. If someone want to log in his code it is normal. abnormally if a code user can not lock or filter for his purposes.
If the former, can you post an example where the change of parameter is shown in the log window?
thresholder.exec(dup, “Phansalkar” ,35,k,r,false) //direct call of Auto_Local_Threshold method
In which situation do you get an output?
In my case k, r sometimes should be different. When I need to detect areas with a slight difference in intensity.