Package org.jaitools.media.jai.vectorize
Class VectorizeOpImage
Object
PlanarImage
OpImage
AttributeOpImage
VectorizeOpImage
- All Implemented Interfaces:
RenderedImage,ImageImageN,PropertyChangeEmitter,PropertySource,WritablePropertySource
Vectorize regions of uniform value in an image.
- Since:
- 1.1
- Author:
- Michael Bedward, Simone Giannecchini, GeoSolutions
-
Field Summary
Fields inherited from class OpImage
OP_COMPUTE_BOUND, OP_IO_BOUND, OP_NETWORK_BOUND -
Constructor Summary
ConstructorsConstructorDescriptionVectorizeOpImage(RenderedImage source, ROI roi, int band, List<Double> outsideValues, boolean insideEdges, boolean removeCollinear, double filterThreshold, int filterMethod) Creates a new instance of the operator. -
Method Summary
Methods inherited from class AttributeOpImage
computesUniqueTiles, computeTile, getProperty, getPropertyClass, getPropertyNames, getTile, getTiles, mapDestRect, mapSourceRectMethods inherited from class OpImage
cancelTiles, dispose, getExpandedNumBands, getOperationComputeType, getTileCache, getTileCacheMetric, getTileDependencies, getTileRecycler, hasExtender, mapDestPoint, mapSourcePoint, prefetchTiles, queueTiles, setTileCacheMethods inherited from class PlanarImage
addPropertyChangeListener, addPropertyChangeListener, addSink, addTileComputationListener, copyData, copyData, copyExtendedData, createColorModel, createSnapshot, getAsBufferedImage, getAsBufferedImage, getBounds, getColorModel, getData, getData, getDefaultColorModel, getExtendedData, getGraphics, getHeight, getImageID, getMaxTileX, getMaxTileY, getMaxX, getMaxY, getMinTileX, getMinTileY, getMinX, getMinY, getNumBands, getNumSources, getNumXTiles, getNumYTiles, getPropertyNames, getSampleModel, getSinks, getSource, getSourceImage, getSourceObject, getSources, getSplits, getTileComputationListeners, getTileFactory, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileIndices, getTileRect, getTiles, getTileWidth, getWidth, overlapsMultipleTiles, removeProperty, removePropertyChangeListener, removePropertyChangeListener, removeSink, removeSinks, removeTileComputationListener, setProperty, tileXToX, tileXToX, tileYToY, tileYToY, toString, wrapRenderedImage, XToTileX, XToTileX, YToTileY, YToTileY
-
Constructor Details
-
VectorizeOpImage
public VectorizeOpImage(RenderedImage source, ROI roi, int band, List<Double> outsideValues, boolean insideEdges, boolean removeCollinear, double filterThreshold, int filterMethod) Creates a new instance of the operator.- Parameters:
source- the source image to be vectorizedroi- an optionalROIdefining the region to be vectorizedband- the source image band to examineoutsideValues- values representing "outside" areas (ie. regions that will not be vectorized); may be null or emptyinsideEdges- flag controlling whether boundaries between adjacent "inside" regions should be vectorizedremoveCollinear- whether to remove collinear points from polygonsfilterThreshold- the area (factional pixels) below which polygons will be filtered from the outputfilterMethod- filtering method used iffilterThreshold > 0; must be one ofVectorizeDescriptor.FILTER_MERGE_LARGEST,VectorizeDescriptor.FILTER_MERGE_RANDOM, orVectorizeDescriptor.FILTER_DELETE
-
-
Method Details
-
getAttribute
-