code: public void selectThreshold( ImageRectangle r ) {
  		double variance = computeVarianceSafe(r.x0, r.y0, r.x1, r.y1);
  
  		thresholdLower = variance*0.5;
  	}
docs: Selects a threshold based on image statistics.  The paper suggestions 1/2 the variance in the initial patch