| javax.media.jai.OpImage javax.media.jai.PointOpImage com.sun.media.jai.mlib.MlibOrderedDitherOpImage
MlibOrderedDitherOpImage | final class MlibOrderedDitherOpImage extends PointOpImage (Code) | | An OpImage that performs the OrderedDither operation on 1 image
through mediaLib.
|
Field Summary | |
protected int[][] | dmask The scaled values of the dither mask. | protected int | dmaskHeight The height of the mask. | protected int | dmaskScale Scale factor to convert mask from floating point to integer. | protected int | dmaskWidth The width of the mask. | protected mediaLibImageColormap | mlibColormap The mediaLib colormap. |
dmask | protected int[][] dmask(Code) | | The scaled values of the dither mask.
|
dmaskHeight | protected int dmaskHeight(Code) | | The height of the mask.
|
dmaskScale | protected int dmaskScale(Code) | | Scale factor to convert mask from floating point to integer.
|
dmaskWidth | protected int dmaskWidth(Code) | | The width of the mask.
|
mlibColormap | protected mediaLibImageColormap mlibColormap(Code) | | The mediaLib colormap.
|
MlibOrderedDitherOpImage | public MlibOrderedDitherOpImage(RenderedImage source, Map config, ImageLayout layout, ColorCube colormap, KernelJAI[] ditherMask)(Code) | | Constructs an MlibOrderedDitherOpImage. The image dimensions are copied
from the source image. The tile grid layout, SampleModel, and
ColorModel may optionally be specified by an ImageLayout object.
Parameters: source - a RenderedImage. Parameters: layout - an ImageLayout optionally containing the tilegrid layout, SampleModel, and ColorModel, or null. |
computeRect | protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)(Code) | | OrderedDither the pixel values of a rectangle from the source.
The source is cobbled.
Parameters: sources - an array of sources, guarantee to provide allnecessary source data for computing the rectangle. Parameters: dest - a tile that contains the rectangle to be computed. Parameters: destRect - the rectangle within this OpImage to be processed. |
Methods inherited from javax.media.jai.OpImage | protected void addTileToCache(int tileX, int tileY, Raster tile)(Code)(Java Doc) public void cancelTiles(TileRequest request, Point[] tileIndices)(Code)(Java Doc) protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)(Code)(Java Doc) protected void computeRect(PlanarImage[] sources, WritableRaster dest, Rectangle destRect)(Code)(Java Doc) public Raster computeTile(int tileX, int tileY)(Code)(Java Doc) public boolean computesUniqueTiles()(Code)(Java Doc) final protected WritableRaster createTile(int tileX, int tileY)(Code)(Java Doc) public synchronized void dispose()(Code)(Java Doc) public static int getExpandedNumBands(SampleModel sampleModel, ColorModel colorModel)(Code)(Java Doc) protected synchronized RasterFormatTag[] getFormatTags()(Code)(Java Doc) public int getOperationComputeType()(Code)(Java Doc) public Raster getTile(int tileX, int tileY)(Code)(Java Doc) public TileCache getTileCache()(Code)(Java Doc) public Object getTileCacheMetric()(Code)(Java Doc) public Point[] getTileDependencies(int tileX, int tileY, int sourceIndex)(Code)(Java Doc) protected Raster getTileFromCache(int tileX, int tileY)(Code)(Java Doc) public TileRecycler getTileRecycler()(Code)(Java Doc) public Raster[] getTiles(Point[] tileIndices)(Code)(Java Doc) public boolean hasExtender(int sourceIndex)(Code)(Java Doc) public Point2D mapDestPoint(Point2D destPt, int sourceIndex)(Code)(Java Doc) abstract public Rectangle mapDestRect(Rectangle destRect, int sourceIndex)(Code)(Java Doc) public Point2D mapSourcePoint(Point2D sourcePt, int sourceIndex)(Code)(Java Doc) abstract public Rectangle mapSourceRect(Rectangle sourceRect, int sourceIndex)(Code)(Java Doc) public void prefetchTiles(Point[] tileIndices)(Code)(Java Doc) public TileRequest queueTiles(Point[] tileIndices)(Code)(Java Doc) protected void recycleTile(Raster tile)(Code)(Java Doc) public void setTileCache(TileCache cache)(Code)(Java Doc) protected static Vector vectorize(RenderedImage image)(Code)(Java Doc) protected static Vector vectorize(RenderedImage image1, RenderedImage image2)(Code)(Java Doc) protected static Vector vectorize(RenderedImage image1, RenderedImage image2, RenderedImage image3)(Code)(Java Doc)
|
|
|