public double getThresh() {
   return thresh.getThreshold();
 }