public class VectorBinarizeOpImage
extends javax.media.jai.SourcelessOpImage
Geometry. See
VectorBinarizeDescriptor for details.| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ANTIALIASING
Default setting for anti-aliasing (false).
|
| Constructor and Description |
|---|
VectorBinarizeOpImage(SampleModel sm,
Map configuration,
int minX,
int minY,
int width,
int height,
org.locationtech.jts.geom.prep.PreparedGeometry geom,
boolean antiAliasing)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Raster |
computeTile(int tileX,
int tileY)
Returns the specified tile.
|
protected Raster |
getTileRaster(int minX,
int minY)
Gets the data for the requested tile.
|
computesUniqueTiles, mapDestRect, mapSourceRectaddTileToCache, cancelTiles, computeRect, computeRect, createTile, dispose, getExpandedNumBands, getFormatTags, getOperationComputeType, getTile, getTileCache, getTileCacheMetric, getTileDependencies, getTileFromCache, getTileRecycler, getTiles, hasExtender, mapDestPoint, mapSourcePoint, prefetchTiles, queueTiles, recycleTile, setTileCache, vectorize, vectorize, vectorizeaddPropertyChangeListener, addPropertyChangeListener, addSink, addSink, addSource, addTileComputationListener, copyData, copyData, copyExtendedData, createColorModel, createSnapshot, createWritableRaster, finalize, getAsBufferedImage, getAsBufferedImage, getBounds, getColorModel, getData, getData, getDefaultColorModel, getExtendedData, getGraphics, getHeight, getImageID, getMaxTileX, getMaxTileY, getMaxX, getMaxY, getMinTileX, getMinTileY, getMinX, getMinY, getNumBands, getNumSources, getNumXTiles, getNumYTiles, getProperties, getProperty, getPropertyClass, getPropertyNames, getPropertyNames, getSampleModel, getSinks, getSource, getSourceImage, getSourceObject, getSources, getSplits, getTileComputationListeners, getTileFactory, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileIndices, getTileRect, getTiles, getTileWidth, getWidth, overlapsMultipleTiles, removeProperty, removePropertyChangeListener, removePropertyChangeListener, removeSink, removeSink, removeSinks, removeSource, removeSources, removeTileComputationListener, setImageLayout, setProperties, setProperty, setSource, setSources, tileXToX, tileXToX, tileYToY, tileYToY, toString, wrapRenderedImage, XToTileX, XToTileX, YToTileY, YToTileYpublic static final boolean DEFAULT_ANTIALIASING
public VectorBinarizeOpImage(SampleModel sm, Map configuration, int minX, int minY, int width, int height, org.locationtech.jts.geom.prep.PreparedGeometry geom, boolean antiAliasing)
sm - the SampleModel used to create tilesconfiguration - rendering hintsminX - origin X ordinateminY - origin Y ordinatewidth - image widthheight - image heightgeom - reference polygonal geometryantiAliasing - whether to use anti-aliasing when rendering the reference geometrypublic Raster computeTile(int tileX, int tileY)
computeTile in class javax.media.jai.SourcelessOpImagetileX - tile X indextileY - tile Y indexprotected Raster getTileRaster(int minX, int minY)
PreparedGeometry a cached
constant Raster with 1 or 0 values is returned. Otherwise
tile pixels are checked for inclusion and set individually.minX - origin X ordinateminY - origin Y ordinateCopyright © 2009–2020. All rights reserved.