|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ImageWorker | |
---|---|
org.geotools.image | Helper classes for building images. |
Uses of ImageWorker in org.geotools.image |
---|
Methods in org.geotools.image that return ImageWorker | |
---|---|
ImageWorker |
ImageWorker.addBand(java.awt.image.RenderedImage image,
boolean before)
Perform a BandMerge operation between the underlying image and the provided one. |
ImageWorker |
ImageWorker.addImage(java.awt.image.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(java.awt.image.RenderedImage alphaChannel,
boolean errorDiffusion)
Adds transparency to a preexisting image whose color model is index color model. |
ImageWorker |
ImageWorker.addTransparencyToIndexColorModel(java.awt.image.RenderedImage alphaChannel,
boolean translucent,
int transparent,
boolean errorDiffusion)
Adds transparency to a preexisting image whose color model is index color model. |
ImageWorker |
ImageWorker.bandMerge(int writeband)
Add the bands to the Component Color Model |
ImageWorker |
ImageWorker.binarize()
Binarizes the image. |
ImageWorker |
ImageWorker.binarize(double threshold)
Binarizes the image. |
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.forceBitmaskIndexColorModel()
Reduces the color model to index color model with opaque or bitmask transparency. |
ImageWorker |
ImageWorker.forceBitmaskIndexColorModel(int suggestedTransparent,
boolean errorDiffusion)
Reduces the color model to index color model with opaque or bitmask transparency. |
ImageWorker |
ImageWorker.forceColorSpaceGRAYScale()
Forces the image color model to the GRAYScale color space. |
ImageWorker |
ImageWorker.forceColorSpaceIHS()
Forces the image color model to the IHS color space. |
ImageWorker |
ImageWorker.forceColorSpaceRGB()
Forces the image color model to the RGB color space. |
ImageWorker |
ImageWorker.forceComponentColorModel()
Reformats the color model to a component color model preserving transparency. |
ImageWorker |
ImageWorker.forceComponentColorModel(boolean checkTransparent)
Reformats the color model to a component color model preserving transparency. |
ImageWorker |
ImageWorker.forceComponentColorModel(boolean checkTransparent,
boolean optimizeGray)
Reformats the color model to a component color model preserving transparency. |
ImageWorker |
ImageWorker.forceIndexColorModel(boolean error)
Reduces the color model to index color model. |
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.intensity()
Creates an image which represents approximatively the intensity of image. |
ImageWorker |
ImageWorker.invert()
Inverts the pixel values of the image. |
ImageWorker |
ImageWorker.makeColorTransparent(java.awt.Color transparentColor)
Replaces all occurences of the given color (usually opaque) by a fully transparent color. |
ImageWorker |
ImageWorker.mask(java.awt.image.RenderedImage mask,
boolean maskValue,
int newValue)
Applies the specified mask over the current image. |
ImageWorker |
ImageWorker.maskComponentColorModelByte(java.awt.Color transparentColor)
Deprecated. This method will be private (and maybe replaced) in a future version. Use makeColorTransparent(java.awt.Color) instead.
Current implementation invokes a lot of JAI operations:
"BandSelect" --> "Lookup" --> "BandCombine" --> "Extrema" --> "Binarize" -->
"Format" --> "BandSelect" (one more time) --> "Multiply" --> "BandMerge".
I would expect more speed and memory efficiency by writing our own JAI operation (PointOp
subclass) doing that in one step. It would also be more deterministic (our "binarize" method
depends on statistics on pixel values) and avoid unwanted side-effect like turning black
color (RGB = 0,0,0) to transparent one. It would also be easier to maintain I believe. |
ImageWorker |
ImageWorker.maskIndexColorModelByte(java.awt.Color transparentColor)
Deprecated. Use makeColorTransparent(java.awt.Color) instead. This method will be private in a
future version. The Byte suffix in the method name will be removed
since this method works for type USHORT as well. |
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.removeRenderingHint(java.awt.RenderingHints.Key key)
Removes a rendering hint. |
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 inconditionnaly the last band of image. |
ImageWorker |
ImageWorker.setImage(java.awt.image.RenderedImage image)
Prepare this builder for the specified image. |
ImageWorker |
ImageWorker.setRenderingHint(java.awt.RenderingHints.Key key,
java.lang.Object value)
Sets a rendering hint tile to use for all images to be computed by this class. |
ImageWorker |
ImageWorker.setRenderingHints(java.awt.RenderingHints hints)
Set a map of rendering hints to use for all images to be computed by this class. |
ImageWorker |
ImageWorker.setROI(javax.media.jai.ROI roi)
Set the region of interest (ROI). |
ImageWorker |
ImageWorker.show()
Shows the current image in a window together with the operation chain as a tree. |
ImageWorker |
ImageWorker.tile()
If the was not already tiled, tile it. |
ImageWorker |
ImageWorker.tileCacheEnabled(boolean status)
If false , disables the tile cache. |
ImageWorker |
ImageWorker.write(java.io.File output)
Writes the image to the specified file. |
ImageWorker |
ImageWorker.writeGIF(java.lang.Object destination,
java.lang.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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |