Uses of Class
org.geotools.image.ImageWorker
Packages that use ImageWorker
-
Uses of ImageWorker in org.geotools.image
Methods in org.geotools.image that return ImageWorkerModifier and TypeMethodDescriptionfinal ImageWorkerImageWorker.addBand(RenderedImage image, boolean before) Perform a BandMerge operation between the underlying image and the provided one.final ImageWorkerImageWorker.addBand(RenderedImage image, boolean before, boolean addAlpha, Range nodata2) Perform a BandMerge operation between the underlying image and the provided one.final ImageWorkerImageWorker.addBands(RenderedImage[] bands, boolean addAlpha, Range[] nodata2) Perform a BandMerge operation between the underlying image and the provided one.final ImageWorkerImageWorker.addBands(RenderedImage[] bands, boolean addAlpha, Range[] nodata2, List<AffineTransform> transformationList) Perform a BandMerge operation between the underlying image and the provided one.final ImageWorkerImageWorker.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.addTransparencyToIndexColorModel(RenderedImage alphaChannel, boolean errorDiffusion) Adds transparency to a preexisting image whose color model is index color model.final ImageWorkerImageWorker.addTransparencyToIndexColorModel(RenderedImage alphaChannel, boolean translucent, int transparent, boolean errorDiffusion) Adds transparency to a preexisting image whose color model is index color model.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 translatesImageWorker.applyOpacity(float opacity) Applies the specified opacity to the image by either adding an alpha band, or modifying the existing one by multiplicationfinal ImageWorkerImageWorker.artifactsFilter(int threshold, int filterSize) ImageWorker.bandCombine(double[][] coeff) Apply a rescale operation on the underlying image.final ImageWorkerImageWorker.bandMerge(int writeband) Add the bands to the Component Color Modelfinal ImageWorkerImageWorker.binarize()Binarizes the image.final ImageWorkerImageWorker.binarize(double threshold) Binarizes the image.final ImageWorkerImageWorker.binarize(int value0, int value1) Binarizes the image (if not already done) and replace all 0 values byvalue0and all 1 values byvalue1.ImageWorker.border(int leftPad, int rightPad, int topPad, int bottomPad, BorderExtender ext) Apply a Raster classification on the underlying image.ImageWorker.colorIndex(ColorIndexer indexer) Warps the underlying using the provided Warp object.ImageWorker.crop(float x, float y, float width, float height) Crops the image to the specified bounds.final ImageWorkerImageWorker.forceBitmaskIndexColorModel()final ImageWorkerImageWorker.forceBitmaskIndexColorModel(int suggestedTransparent, boolean errorDiffusion) final ImageWorkerImageWorker.forceColorSpaceGRAYScale()Forces the image color model to the GRAYScale color space.final ImageWorkerImageWorker.forceColorSpaceIHS()Forces the image color model to the IHS color space.final ImageWorkerImageWorker.forceColorSpaceRGB()Forces the image color model to the RGB color space.final ImageWorkerImageWorker.forceColorSpaceYCbCr()Forces the image color model to the YCbCr color space.final ImageWorkerImageWorker.forceComponentColorModel()Reformats the color model to a component color model preserving transparency.final ImageWorkerImageWorker.forceComponentColorModel(boolean checkTransparent) Reformats the color model to a component color model preserving transparency.final ImageWorkerImageWorker.forceComponentColorModel(boolean checkTransparent, boolean optimizeGray) Reformats the color model to a component color model preserving transparency.final ImageWorkerImageWorker.forceComponentColorModel(boolean checkTransparent, boolean optimizeGray, boolean omitAlphaOnExpand) Reformats the color model to a component color model preserving transparency.final ImageWorkerImageWorker.forceIndexColorModel(boolean error) Reduces the color model to index color model.final ImageWorkerImageWorker.forceIndexColorModelForGIF(boolean errorDiffusion) Converts the image to a GIF-compliant image.final ImageWorkerImageWorker.format(int dataType) Formats the underlying image to the provided data type.ImageWorker.function(ImageFunction function, int w, int h, float xScale, float yScale, float xTrans, float yTrans) final ImageWorkerImageWorker.intensity()Creates an image which represents approximatively the intensity of image.final ImageWorkerImageWorker.invert()Inverts the pixel values of the image.ImageWorker.lookup(LookupTable table) Performs Lookup on the underlying imagefinal ImageWorkerImageWorker.makeColorTransparent(Color transparentColor) Replaces all occurences of the given color (usually opaque) by a fully transparent color.final ImageWorkerImageWorker.mask(RenderedImage mask, boolean maskValue, int newValue) Applies the specified mask over the current image.ImageWorker.max(RenderedImage[] sources) Copmputes a pixel-by-pixel maximum value from all the provided sources.ImageWorker.min(RenderedImage[] sources) Copmputes a pixel-by-pixel minimum value from all the provided sources.ImageWorker.mosaic(RenderedImage[] images, MosaicType type, PlanarImage[] alphas, ROI[] rois, double[][] thresholds, Range[] nodata) final ImageWorkerImageWorker.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.final ImageWorkerImageWorker.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.nullOp()Returns the rendered image after null operation.final ImageWorkerImageWorker.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.Apply a Generic Piecewise operation on the underlying image.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.rangeLookup(Object rangeLookup) Apply a rangeLookup operation on the underlying image.final ImageWorkerImageWorker.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.final ImageWorkerImageWorker.removeRenderingHint(RenderingHints.Key key) Removes a rendering hint.final ImageWorkerImageWorker.removeRenderingHints()ImageWorker.rescale(double[] scale, double[] offset) Apply a rescale operation on the underlying image.final ImageWorkerImageWorker.rescaleToBytes()Rescales the image such that it uses 8 bits.final ImageWorkerImageWorker.retainBands(int numBands) Retains inconditionnaly the firstnumBandsof image.final ImageWorkerImageWorker.retainBands(int[] bands) Retains inconditionnaly certain bands of image.final ImageWorkerImageWorker.retainFirstBand()Retains inconditionnaly the first band of image.final ImageWorkerImageWorker.retainLastBand()Retains unconditionally the last band of image.ImageWorker.scale(double xScale, double yScale, double xTrans, double yTrans, Interpolation interp) Scales the underlying raster using the provided parameters.final ImageWorkerImageWorker.setBackground(double[] background) Set the image background valuefinal ImageWorkerImageWorker.setImage(RenderedImage image) Prepare this builder for the specified image.final ImageWorkerImageWorker.setNoData(Range nodata) Set the NoData Range for checking NoData during computation.final ImageWorkerImageWorker.setRenderingHint(RenderingHints.Key key, Object value) Sets a rendering hint tile to use for all images to be computed by this class.final ImageWorkerImageWorker.setRenderingHints(RenderingHints hints) Set a map of rendering hints to use for all images to be computed by this class.final ImageWorkerImageWorker.setROI(ROI roi) Set the region of interest (ROI).ImageWorker.setXPeriod(int xPeriod) Sets the x-period used by statistical operations (e.g. extrema, mean, histogram).ImageWorker.setYPeriod(int yPeriod) Sets the x-period used by statistical operations (e.g. extrema, mean, histogram).final ImageWorkerImageWorker.show()final ImageWorkerImageWorker.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.final ImageWorkerImageWorker.tile()If the was not already tiled, tile it.final ImageWorkerImageWorker.tileCacheEnabled(boolean status) Iffalse, disables the tile cache.ImageWorker.translate(float xTrans, float yTrans, Interpolation interp) ImageWorker.warp(Warp warp, Interpolation interp) Warps the underlying raster using the provided Warp object.final ImageWorkerWrites the image to the specified file.final ImageWorkerWrites outs the image contained into thisImageWorkeras a GIF using the provided destination, compression and compression rate.final ImageWorkerImageWorker.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.