| javax.media.jai.UntiledOpImage com.sun.media.jai.mlib.MlibDFTOpImage
MlibDFTOpImage | final class MlibDFTOpImage extends UntiledOpImage (Code) | | An OpImage class that performs a "DFT" and "IDFT" operations.
|
Method Summary | |
protected void | computeImage(Raster[] sources, WritableRaster dest, Rectangle destRect) Calculate the destination image from the source image. | public static boolean | isAcceptableSampleModel(SampleModel sm) | public Point2D | mapDestPoint(Point2D destPt) Computes the source point corresponding to the supplied point.
Parameters: destPt - the position in destination image coordinatesto map to source image coordinates. | public Point2D | mapSourcePoint(Point2D sourcePt) Computes the destination point corresponding to the supplied point. |
MlibDFTOpImage | public MlibDFTOpImage(RenderedImage source, Map config, ImageLayout layout, EnumeratedParameter dataNature, boolean isForward, EnumeratedParameter scaleType)(Code) | | Constructs an MlibDFTOpImage.
Parameters: source - a RenderedImage. Parameters: layout - an ImageLayout optionally containing the tilegrid layout, SampleModel, and ColorModel, or null. Parameters: dataNature - the nature of the source/destination data transform(real->complex, etc.). Parameters: isForward - whether the transform is forward (negative exponent). Parameters: scaleType - the scaling type of the transform. |
computeImage | protected void computeImage(Raster[] sources, WritableRaster dest, Rectangle destRect)(Code) | | Calculate the destination image from the source image.
Parameters: source - The source Raster; should be the whole image. Parameters: dest - The destination WritableRaster; should be the whole image. Parameters: destRect - The destination Rectangle; should equal the destinationimage bounds. |
isAcceptableSampleModel | public static boolean isAcceptableSampleModel(SampleModel sm)(Code) | | |
mapDestPoint | public Point2D mapDestPoint(Point2D destPt)(Code) | | Computes the source point corresponding to the supplied point.
Parameters: destPt - the position in destination image coordinatesto map to source image coordinates. null . throws: IllegalArgumentException - if destPt isnull . since: JAI 1.1.2 |
|
|