code: @Deprecated
  	public static <T extends ImageBase<T>>
  	void rotate(T input, T output, BorderType borderType, InterpolationType interpType, float angleInputToOutput) {
  
  		float offX = 0;//(output.width+1)%2;
  		float offY = 0;//(output.height+1)%2;
  
  		PixelTransform<Point2D_F32> model = DistortSupport.transformRotate(input.width / 2, input.height / 2,
  				output.width / 2 - offX, output.height / 2 - offY, angleInputToOutput);
  
  		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: <p>
  Rotates the image using the specified interpolation type.  The rotation is performed
  around the specified center of rotation in the input image.
  </p>
  
  <p>
  Input coordinates (x,y) to output coordinate (x',y')<br>
  x' = x_c + c*(x-x_c) - s(y - y_c)<br>
  y' = y_c + s*(x-x_c) + c(y - y_c)
  </p>
  
  @deprecated As of v0.19.  Use {@link FDistort} instead
  
  @param input Which which is being rotated.
  @param output The image in which the output is written to.
  @param borderType Describes how pixels outside the image border should be handled.
  @param interpType Which type of interpolation will be used.
  @param angleInputToOutput Angle of rotation in radians. From input to output, CCW rotation.