code: public static <T extends ImageGray<T>>
  	void scaleImageUp(T input , T output , int scale, InterpolatePixelS<T> interp ) {
  		if( scale <= 1 )
  			throw new IllegalArgumentException("Scale must be >= 2");
  		if( input instanceof GrayF32) {
  			ImplPyramidOps.scaleImageUp((GrayF32)input,(GrayF32)output,scale,(InterpolatePixelS)interp);
  		} else if( input instanceof GrayU8) {
  			ImplPyramidOps.scaleImageUp((GrayU8)input,(GrayU8)output,scale,(InterpolatePixelS)interp);
  		} else {
  			throw new IllegalArgumentException("Image type not yet supported");
  		}
  	}
docs: Scales an image up using interpolation
  
  @param scale How much larger the output image will be.