code: public static <T extends ImageGray<T>> ImageBorder<T> singleValue(Class<T> imageType, double value) {
  		if( imageType == GrayF32.class ) {
  			return (ImageBorder<T>)new ImageBorderValue.Value_F32((float)value);
  		} else if( imageType == GrayF64.class ) {
  			return (ImageBorder<T>)new ImageBorderValue.Value_F64(value);
  		} else if( GrayI.class.isAssignableFrom(imageType) ) {
  			return (ImageBorder<T>)new ImageBorderValue.Value_I((int)value);
  		} else {
  			throw new IllegalArgumentException("Unknown image type: "+imageType.getSimpleName());
  		}
  	}
docs: Creates an {@link ImageBorder} that returns the specified value always.
  
  @see ImageBorderValue
  
  @param imageType The image type the border is being created for.
  @param value The value which will be returned.
  @return An {@link ImageBorder}