code: public static <T extends ImageGray<T>>
  	InputToBinary<T> localMean(ConfigLength width, double scale, boolean down, Class<T> inputType) {
  		if( BOverrideFactoryThresholdBinary.localMean != null )
  			return BOverrideFactoryThresholdBinary.localMean.handle(width, scale, down, inputType);
  		return new LocalMeanBinaryFilter<>(width, scale, down, ImageType.single(inputType));
  	}
docs: @see boofcv.alg.filter.binary.GThresholdImageOps#localMean
  
  @param width Width of square region.
  @param scale Scale factor adjust for threshold.  1.0 means no change.
  @param down Should it threshold up or down.
  @param inputType Type of input image
  @return Filter to binary