prev up next

Java Applications

Chapter 9: Geometric Operations

AffineTransformTool Demonstrates interactive scaling and rotation of images using the AffineTransformOp class.
ForwardRotation Demonstrates the flaws in performing a geometric transformation of an image using the forward mapping approach.
Rotate1 Rotates an image and writes it to a new file. Part of the image will be lost because it rotates out of bounds.
Rotate2 Rotates an image and performs translation and padding of the output to ensure that the entire image is still visible.
Scale Scales an image in the x and/or y directions by an abitrary factor.


prev up next