Class Rotate180


  • public class Rotate180
    extends ImageToImageOperation
    Rotates images by 180 degrees. The result is the same as a a Flip operation followed by a Mirror operation (or vice versa). Input image must implement IntegerImage.

    Usage example

     Rotate180 rotate = new Rotate180();
     rotate.setInputImage(image); // something implementing IntegerImage
     rotate.process();
     PixelImage rotatedImage = rotate.getOutputImage();
     
    Author:
    Marco Schmidt