code: public static <T extends ImageGray<T>>
  	InputToBinary<T> localNick(ConfigLength width, boolean down, float k, Class<T> inputType)
  	{
  //		if( BOverrideFactoryThresholdBinary.localNick != null )
  //			return BOverrideFactoryThresholdBinary.localNick.handle(width, k, down, inputType);
  		return new InputToBinarySwitch<>(new ThresholdNick(width, k, down),inputType);
  	}
docs: @see ThresholdNick
  
  @param width size of local region.  Try 31
  @param down Should it threshold up or down.
  @param k The Niblack factor. Recommend -0.1 to -0.2
  @param inputType Type of input image
  @return Filter to binary