Class RotateAntiClockwise180
- java.lang.Object
-
- in.itzmeanjan.filterit.rotation.util.RotateAntiClockwise180
-
- All Implemented Interfaces:
Rotation
public class RotateAntiClockwise180 extends java.lang.Object implements Rotation
Given a buffered image, we'll rotate that image by 180° in anti-clockwise direction and obtain a new image, though original image buffer to stay unmodified. We'll perform this rotation as combination two basic operationsi ) First horizontally rotate image matrix
ii ) Then vertically rotate it
or the other way :) Applying these two rotations in any of two possible orders will result into same image matrix, which is rotating image by 180° in anti-clockwise / clockwise direction ( both are same actually )
-
-
Constructor Summary
Constructors Constructor Description RotateAntiClockwise180()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.BufferedImage
rotate(java.awt.image.BufferedImage img)
java.awt.image.BufferedImage
rotate(java.lang.String src)
-