ImageWorker |
ImageWorker.addBand(RenderedImage image,
boolean before) |
Perform a BandMerge operation between the underlying image and the provided one.
|
ImageWorker |
ImageWorker.addBand(RenderedImage image,
boolean before,
boolean addAlpha,
Range nodata2) |
Perform a BandMerge operation between the underlying image and the provided one.
|
ImageWorker |
ImageWorker.addBands(RenderedImage[] bands,
boolean addAlpha,
Range[] nodata2) |
Perform a BandMerge operation between the underlying image and the provided one.
|
ImageWorker |
ImageWorker.addBands(RenderedImage[] bands,
boolean addAlpha,
Range[] nodata2,
List<AffineTransform> transformationList) |
Perform a BandMerge operation between the underlying image and the provided one.
|
ImageWorker |
ImageWorker.addImage(RenderedImage renderedImage) |
Takes two rendered or renderable source images, and adds every pair of pixels, one from each
source image of the corresponding position and band.
|
ImageWorker |
ImageWorker.addTransparencyToIndexColorModel(RenderedImage alphaChannel,
boolean errorDiffusion) |
|
ImageWorker |
ImageWorker.addTransparencyToIndexColorModel(RenderedImage alphaChannel,
boolean translucent,
int transparent,
boolean errorDiffusion) |
|
ImageWorker |
ImageWorker.affine(AffineTransform tx,
Interpolation interpolation,
double[] bgValues) |
Performs an affine transform on the image, applying optimization such as affine removal in
case the affine is an identity, affine merging if the affine is applied on top of another
affine, and using optimized operations for integer translates
|
ImageWorker |
ImageWorker.applyOpacity(float opacity) |
Applies the specified opacity to the image by either adding an alpha band, or modifying the
existing one by multiplication
|
ImageWorker |
ImageWorker.artifactsFilter(int threshold,
int filterSize) |
|
ImageWorker |
ImageWorker.bandCombine(double[][] coeff) |
Apply a rescale operation on the underlying image.
|
ImageWorker |
ImageWorker.bandMerge(int writeband) |
Add the bands to the Component Color Model
|
ImageWorker |
ImageWorker.binarize() |
|
ImageWorker |
ImageWorker.binarize(double threshold) |
|
ImageWorker |
ImageWorker.binarize(int value0,
int value1) |
Binarizes the image (if not already done) and replace all 0 values by
value0 and all 1 values by value1 .
|
ImageWorker |
ImageWorker.border(int leftPad,
int rightPad,
int topPad,
int bottomPad,
BorderExtender ext) |
|
ImageWorker |
ImageWorker.classify(ColorMapTransform domain1D,
Integer bandIndex) |
Apply a Raster classification on the underlying image.
|
ImageWorker |
ImageWorker.colorIndex(ColorIndexer indexer) |
Warps the underlying using the provided Warp object.
|
ImageWorker |
ImageWorker.crop(float x,
float y,
float width,
float height) |
Crops the image to the specified bounds.
|
ImageWorker |
ImageWorker.forceBitmaskIndexColorModel() |
|
ImageWorker |
ImageWorker.forceBitmaskIndexColorModel(int suggestedTransparent,
boolean errorDiffusion) |
|
ImageWorker |
ImageWorker.forceColorSpaceGRAYScale() |
|
ImageWorker |
ImageWorker.forceColorSpaceIHS() |
Forces the image color model to the IHS color space.
|
ImageWorker |
ImageWorker.forceColorSpaceRGB() |
|
ImageWorker |
ImageWorker.forceColorSpaceYCbCr() |
|
ImageWorker |
ImageWorker.forceComponentColorModel() |
|
ImageWorker |
ImageWorker.forceComponentColorModel(boolean checkTransparent) |
|
ImageWorker |
ImageWorker.forceComponentColorModel(boolean checkTransparent,
boolean optimizeGray) |
|
ImageWorker |
ImageWorker.forceComponentColorModel(boolean checkTransparent,
boolean optimizeGray,
boolean omitAlphaOnExpand) |
|
ImageWorker |
ImageWorker.forceIndexColorModel(boolean error) |
|
ImageWorker |
ImageWorker.forceIndexColorModelForGIF(boolean errorDiffusion) |
Converts the image to a GIF-compliant image.
|
ImageWorker |
ImageWorker.format(int dataType) |
Formats the underlying image to the provided data type.
|
ImageWorker |
ImageWorker.function(ImageFunction function,
int w,
int h,
float xScale,
float yScale,
float xTrans,
float yTrans) |
|
ImageWorker |
ImageWorker.intensity() |
Creates an image which represents approximatively the intensity of image.
|
ImageWorker |
ImageWorker.invert() |
Inverts the pixel values of the image.
|
ImageWorker |
ImageWorker.lookup(LookupTable table) |
Performs Lookup on the underlying image
|
ImageWorker |
ImageWorker.makeColorTransparent(Color transparentColor) |
Replaces all occurences of the given color (usually opaque) by a fully transparent color.
|
ImageWorker |
ImageWorker.mask(RenderedImage mask,
boolean maskValue,
int newValue) |
Applies the specified mask over the current image.
|
ImageWorker |
ImageWorker.max(RenderedImage[] sources) |
Copmputes a pixel-by-pixel maximum value from all the provided sources.
|
ImageWorker |
ImageWorker.min(RenderedImage[] sources) |
Copmputes a pixel-by-pixel minimum value from all the provided sources.
|
ImageWorker |
ImageWorker.mosaic(RenderedImage[] images,
MosaicType type,
PlanarImage[] alphas,
ROI[] rois,
double[][] thresholds,
Range[] nodata) |
|
ImageWorker |
ImageWorker.multiply(RenderedImage renderedImage) |
Takes two rendered or renderable source images, and myltiply form each pixel the related
value of the second image, each one from each source image of the corresponding position and
band.
|
ImageWorker |
ImageWorker.multiplyConst(double[] inValues) |
Takes one rendered or renderable image and an array of double constants, and multiplies every
pixel of the same band of the source by the constant from the corresponding array entry.
|
ImageWorker |
ImageWorker.nullOp() |
|
ImageWorker |
ImageWorker.or(RenderedImage renderedImage) |
Takes two rendered or renderable source images, and do an OR for each pixel images, each one
from each source image of the corresponding position and band.
|
ImageWorker |
ImageWorker.piecewise(PiecewiseTransform1D transform,
Integer bandIndex) |
Apply a Generic Piecewise operation on the underlying image.
|
ImageWorker |
ImageWorker.prepareForRendering() |
Forces all NODATA pixels, as well as those outside of the ROI, to be transparent (expanding
the color model as needed in order to make it so).
|
ImageWorker |
ImageWorker.rangeLookup(Object rangeLookup) |
Apply a rangeLookup operation on the underlying image.
|
ImageWorker |
ImageWorker.removeIndexColorModel() |
If the image has an indexed color model, removes it, and replaces it with a component color
model. can be useful before a band-merge if the image in question is not meant to be color
expanded.
|
ImageWorker |
ImageWorker.removeRenderingHint(RenderingHints.Key key) |
Removes a rendering hint.
|
ImageWorker |
ImageWorker.removeRenderingHints() |
|
ImageWorker |
ImageWorker.rescale(double[] scale,
double[] offset) |
Apply a rescale operation on the underlying image.
|
ImageWorker |
ImageWorker.rescaleToBytes() |
Rescales the image such that it uses 8 bits.
|
ImageWorker |
ImageWorker.retainBands(int numBands) |
Retains inconditionnaly the first numBands of image.
|
ImageWorker |
ImageWorker.retainBands(int[] bands) |
Retains inconditionnaly certain bands of image.
|
ImageWorker |
ImageWorker.retainFirstBand() |
Retains inconditionnaly the first band of image.
|
ImageWorker |
ImageWorker.retainLastBand() |
Retains unconditionally the last band of image.
|
ImageWorker |
ImageWorker.scale(double xScale,
double yScale,
double xTrans,
double yTrans,
Interpolation interp) |
Scales the underlying raster using the provided parameters.
|
ImageWorker |
ImageWorker.setBackground(double[] background) |
Set the image background value
|
ImageWorker |
ImageWorker.setImage(RenderedImage image) |
Prepare this builder for the specified image.
|
ImageWorker |
ImageWorker.setNoData(Range nodata) |
Set the NoData Range for checking NoData during computation.
|
ImageWorker |
ImageWorker.setRenderingHint(RenderingHints.Key key,
Object value) |
Sets a rendering hint tile to use for all images to be computed by this class.
|
ImageWorker |
ImageWorker.setRenderingHints(RenderingHints hints) |
Set a map of rendering hints to use for all images to be computed by this class.
|
ImageWorker |
ImageWorker.setROI(ROI roi) |
Set the region of interest (ROI).
|
ImageWorker |
ImageWorker.setXPeriod(int xPeriod) |
Sets the x-period used by statistical operations (e.g. extrema, mean, histogram).
|
ImageWorker |
ImageWorker.setYPeriod(int yPeriod) |
Sets the x-period used by statistical operations (e.g. extrema, mean, histogram).
|
ImageWorker |
ImageWorker.show() |
Shows the current image in a window together with the operation chain as a
tree.
|
ImageWorker |
ImageWorker.subtract(RenderedImage renderedImage) |
Takes two rendered or renderable source images, and subtract form each pixel the related
value of the second image, each one from each source image of the corresponding position and
band.
|
ImageWorker |
ImageWorker.tile() |
If the was not already tiled, tile it.
|
ImageWorker |
ImageWorker.tileCacheEnabled(boolean status) |
If false , disables the tile cache.
|
ImageWorker |
ImageWorker.translate(float xTrans,
float yTrans,
Interpolation interp) |
|
ImageWorker |
ImageWorker.warp(Warp warp,
Interpolation interp) |
Warps the underlying raster using the provided Warp object.
|
ImageWorker |
ImageWorker.write(File output) |
Writes the image to the specified file.
|
ImageWorker |
ImageWorker.writeGIF(Object destination,
String compression,
float compressionRate) |
Writes outs the image contained into this ImageWorker as a GIF using the provided
destination, compression and compression rate.
|
ImageWorker |
ImageWorker.xorConst(int[] values) |
Takes one rendered or renderable image and an array of integer constants, and performs a
bit-wise logical "xor" between every pixel in the same band of the source and the constant
from the corresponding array entry.
|