Class RotateClockwise180
- java.lang.Object
-
- in.itzmeanjan.filterit.rotation.util.RotateClockwise180
-
- All Implemented Interfaces:
Rotation
public class RotateClockwise180 extends java.lang.Object implements Rotation
Given an image, we'll rotate it by 180° in clockwise direction, using combination of two basic operationsi ) First horizontally rotate image matrix ( H )
ii ) Then vertically rotate image matrix ( V )
R = result image = V( H ( Image ) ) = H( V ( Image ) )
Note that : Unordered execution of previous two steps does result into same target image i.e. rotates image by 180° in clockwise direction
-
-
Constructor Summary
Constructors Constructor Description RotateClockwise180()
-
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)
-