| javax.media.jai.ColormapOpImage com.sun.media.jai.opimage.ExpOpImage
ExpOpImage | final class ExpOpImage extends ColormapOpImage (Code) | | An OpImage implementing the "Exp" operation as
described in javax.media.jai.operator.ExpDescriptor .
The result is rounded to the closest integer for intergral data types.
This OpImage takes the natural exponential of the pixel
values of an image. The operation is done on a per-pixel, per-band
basis.
See Also: javax.media.jai.operator.ExpDescriptor See Also: ExpCRIF since: EA2 |
Constructor Summary | |
public | ExpOpImage(RenderedImage source, Map config, ImageLayout layout) Constructor.
The layout of the source is used as the fall-back for
the layout of the destination. |
Method Summary | |
protected void | computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect) Map the pixels inside a specified rectangle whose value is within a
range to a constant on a per-band basis. | protected void | transformColormap(byte[][] colormap) Transform the colormap according to the rescaling parameters. |
ExpOpImage | public ExpOpImage(RenderedImage source, Map config, ImageLayout layout)(Code) | | Constructor.
The layout of the source is used as the fall-back for
the layout of the destination. 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
range 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. |
transformColormap | protected void transformColormap(byte[][] colormap)(Code) | | Transform the colormap according to the rescaling parameters.
|
Methods inherited from javax.media.jai.ColormapOpImage | final protected void initializeColormapOperation()(Code)(Java Doc) final protected boolean isColormapOperation()(Code)(Java Doc) abstract protected void transformColormap(byte[][] colormap)(Code)(Java Doc)
|
|
|