| javax.media.jai.OpImage javax.media.jai.PointOpImage com.sun.media.jai.opimage.AbsoluteOpImage
AbsoluteOpImage | final class AbsoluteOpImage extends PointOpImage (Code) | | An OpImage implementing the "Absolute" operation as
described in javax.media.jai.operator.AbsoluteDescriptor .
This OpImage takes the absolute value of the pixel
values of an image. The operation is done on a per-band basis.
For an integral number, its absolute value is taken as x = (~x) +1,
where ~x is the 1's complement of that number.
If the number is the maximum negative of its type, then it will remain
the same value.
since: EA2 See Also: javax.media.jai.operator.AbsoluteDescriptor See Also: AbsoluteCRIF |
Constructor Summary | |
public | AbsoluteOpImage(RenderedImage source, Map config, ImageLayout layout) Constructs an AbsoluteOpImage .
The layout parameter may optionally contains the
tile grid layout, sample model, and/or color model. |
Method Summary | |
protected void | computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect) Map the pixels inside a specified rectangle whose value is within a
rang to a constant on a per-band basis. |
AbsoluteOpImage | public AbsoluteOpImage(RenderedImage source, Map config, ImageLayout layout)(Code) | | Constructs an AbsoluteOpImage .
The layout parameter may optionally contains the
tile grid layout, sample model, and/or color model. The image
dimension is set to the same values as that of the source image.
The image layout of the source image is used as the fall-back
for the image layout of the destination image. Any layout parameters
not specified in the layout argument are set to the
same value as that of the source.
Parameters: source - The source image. Parameters: layout - The destination image layout. |
computeRect | protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)(Code) | | Map the pixels inside a specified rectangle whose value is within a
rang to a constant on a per-band basis.
Parameters: sources - Cobbled sources, guaranteed to provide all thesource data necessary for computing the rectangle. Parameters: dest - The tile containing the rectangle to be computed. Parameters: destRect - The rectangle within the tile to be computed. |
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)
|
|
|