code: @Deprecated
  	public static <T extends ImageBase<T>>
  	void scale(T input, T output, BorderType borderType, InterpolationType interpType) {
  
  		PixelTransformAffine_F32 model = DistortSupport.transformScale(output, input, null);
  
  		if( input instanceof ImageGray) {
  			distortSingle((ImageGray) input, (ImageGray) output, model, interpType, borderType);
  		} else if( input instanceof Planar) {
  			distortPL((Planar) input, (Planar) output, model,  borderType, interpType);
  		}
  	}
docs: Rescales the input image and writes the results into the output image.  The scale
  factor is determined independently of the width and height.
  @param input Input image. Not modified.
  @param output Rescaled input image. Modified.
  @param borderType Describes how pixels outside the image border should be handled.
  @param interpType Which interpolation algorithm should be used.