|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.media.jai.PlanarImage
javax.media.jai.OpImage
org.jaitools.media.jai.AttributeOpImage
org.jaitools.media.jai.vectorize.VectorizeOpImage
public class VectorizeOpImage
Vectorize regions of uniform value in an image.
| Field Summary |
|---|
| Fields inherited from class org.jaitools.media.jai.AttributeOpImage |
|---|
roi, srcBounds |
| Fields inherited from class javax.media.jai.OpImage |
|---|
cache, cobbleSources, OP_COMPUTE_BOUND, OP_IO_BOUND, OP_NETWORK_BOUND, tileCacheMetric, tileRecycler |
| Fields inherited from class javax.media.jai.PlanarImage |
|---|
colorModel, eventManager, height, minX, minY, properties, sampleModel, tileFactory, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width |
| Constructor Summary | |
|---|---|
VectorizeOpImage(RenderedImage source,
javax.media.jai.ROI roi,
int band,
List<Double> outsideValues,
boolean insideEdges,
boolean removeCollinear,
double filterThreshold,
int filterMethod)
Creates a new instance of the operator. |
|
| Method Summary | |
|---|---|
List<com.vividsolutions.jts.geom.Geometry> |
getAttribute(String name)
Retrieves an attribute by name. |
protected String[] |
getAttributeNames()
Returns the names of available attributes. |
| Methods inherited from class org.jaitools.media.jai.AttributeOpImage |
|---|
computesUniqueTiles, computeTile, getAttributeClass, getProperty, getPropertyClass, getPropertyNames, getTile, getTiles, mapDestRect, mapSourceRect |
| Methods inherited from class javax.media.jai.OpImage |
|---|
addTileToCache, cancelTiles, computeRect, computeRect, createTile, dispose, getExpandedNumBands, getFormatTags, getOperationComputeType, getTileCache, getTileCacheMetric, getTileDependencies, getTileFromCache, getTileRecycler, hasExtender, mapDestPoint, mapSourcePoint, prefetchTiles, queueTiles, recycleTile, setTileCache, vectorize, vectorize, vectorize |
| Methods inherited from class javax.media.jai.PlanarImage |
|---|
addPropertyChangeListener, 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, 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, YToTileY |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VectorizeOpImage(RenderedImage source,
javax.media.jai.ROI roi,
int band,
List<Double> outsideValues,
boolean insideEdges,
boolean removeCollinear,
double filterThreshold,
int filterMethod)
source - the source image to be vectorizedroi - an optional ROI defining 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 if filterThreshold > 0;
must be one of
VectorizeDescriptor.FILTER_MERGE_LARGEST,
VectorizeDescriptor.FILTER_MERGE_RANDOM, or
VectorizeDescriptor.FILTER_DELETE| Method Detail |
|---|
public List<com.vividsolutions.jts.geom.Geometry> getAttribute(String name)
getAttribute in class AttributeOpImagename - the attribute name
null if the name does not
match any of the available attributesprotected String[] getAttributeNames()
getAttributeNames in class AttributeOpImage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||