|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlib.transformations.ImageTransform
public abstract class ImageTransform
Produces transformed copies of a given input image.
Constructor Summary | |
---|---|
ImageTransform()
|
Method Summary | |
---|---|
static java.awt.image.BufferedImage |
affineTransform(java.awt.image.BufferedImage inputimage,
java.awt.geom.AffineTransform transform,
int interpolationType)
The Affine transform theory: [ x'] [ m00 m01 m02 ] [ x ] [ m00x + m01y + m02 ] [ y'] = [ m10 m11 m12 ] [ y ] = [ m10x + m11y + m12 ] [ 1 ] [ 0 0 1 ] [ 1 ] [ 1 ] The corresponding matrix values: [ m00 m01 m02 ] [ scx shx trx ] [ m10 m11 m12 ] <=> [ shy scy try ] [ 0 0 1 ] [ 0 0 1 ] |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface lib.transformations.Transformer |
---|
transform |
Constructor Detail |
---|
public ImageTransform()
Method Detail |
---|
public static java.awt.image.BufferedImage affineTransform(java.awt.image.BufferedImage inputimage, java.awt.geom.AffineTransform transform, int interpolationType)
inputimage
- the original image to apply the transformation totransform
- the affine transformation operation-matrixinterpolationType
- the interpolation type to use - one of
AffineTransformOp.{TYPE_NEAREST_NEIGHBOR ,TYPE_BILINEAR, TYPE_BICUBIC}
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |