code: public static <Input extends ImageGray<Input>,Output extends ImageGray<Output>>
  	void distortSingle(Input input, Output output,
  					   PixelTransform<Point2D_F32> transform,
  					   InterpolationType interpType, BorderType borderType)
  	{
  		boolean skip = borderType == BorderType.SKIP;
  		if( skip )
  			borderType = BorderType.EXTENDED;
  
  		Class<Input> inputType = (Class<Input>)input.getClass();
  		Class<Output> outputType = (Class<Output>)input.getClass();
  		InterpolatePixelS<Input> interp = FactoryInterpolation.createPixelS(0, 255, interpType, borderType, inputType);
  
  		ImageDistort<Input,Output> distorter = FactoryDistort.distortSB(false, interp, outputType);
  		distorter.setRenderAll(!skip);
  		distorter.setModel(transform);
  		distorter.apply(input,output);
  	}
docs: Applies a pixel transform to a single band image.  Easier to use function.
  
  @deprecated As of v0.19.  Use {@link FDistort} instead
  
  @param input Input (source) image.
  @param output Where the result of transforming the image image is written to.
  @param transform The transform that is being applied to the image
  @param interpType Which type of pixel interpolation should be used. BILINEAR is in general recommended
  @param borderType Specifies how to handle image borders.