12.07.2015 Views

Digital Image Processing (using Java)

Digital Image Processing (using Java)

Digital Image Processing (using Java)

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

import java.awt.geom.AffineTransformAffineTransform transform = new AffineTransform();AffineTransform scale = AffineTransform.getScaleInstance(1.5, 1.5);// increase image size by 50%double angle = Math.Pi/4.0;double x = image.getWidth()/2.0;double y = image.getHeight()/2.0;AffineTransform rotate = AffineTransform.getRotateInstance(angel, x, y);(p.233)(p.234)(p.235)- 57 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!