Package org.esa.snap.core.image
Class PlacemarkMaskOpImage
- java.lang.Object
-
- javax.media.jai.PlanarImage
-
- javax.media.jai.OpImage
-
- javax.media.jai.SourcelessOpImage
-
- org.esa.snap.core.image.SingleBandedOpImage
-
- org.esa.snap.core.image.PlacemarkMaskOpImage
-
- All Implemented Interfaces:
RenderedImage
,javax.media.jai.ImageJAI
,javax.media.jai.PropertyChangeEmitter
,javax.media.jai.PropertySource
,javax.media.jai.WritablePropertySource
public class PlacemarkMaskOpImage extends SingleBandedOpImage
Creates a mask image for a givenRasterDataNode
. The resulting image will have a single-band, interleaved sample model with sample values 255 or 0.
-
-
Constructor Summary
Constructors Constructor Description PlacemarkMaskOpImage(Product product, PlacemarkDescriptor placemarkDescriptor, int placemarkSize, int width, int height, ResolutionLevel level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
computeRect(javax.media.jai.PlanarImage[] sourceImages, WritableRaster tile, Rectangle destRect)
-
Methods inherited from class org.esa.snap.core.image.SingleBandedOpImage
computeRect, createNoDataRaster, getLevel, getLevelImageSupport, getScale, getSourceCoord, getSourceHeight, getSourceWidth, getSourceX, getSourceY
-
Methods inherited from class javax.media.jai.SourcelessOpImage
computesUniqueTiles, computeTile, mapDestRect, mapSourceRect
-
Methods inherited from class javax.media.jai.OpImage
addTileToCache, cancelTiles, createTile, dispose, getExpandedNumBands, getFormatTags, getOperationComputeType, getTile, getTileCache, getTileCacheMetric, getTileDependencies, getTileFromCache, getTileRecycler, getTiles, 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, 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, YToTileY
-
-
-
-
Constructor Detail
-
PlacemarkMaskOpImage
public PlacemarkMaskOpImage(Product product, PlacemarkDescriptor placemarkDescriptor, int placemarkSize, int width, int height, ResolutionLevel level)
-
-
Method Detail
-
computeRect
protected void computeRect(javax.media.jai.PlanarImage[] sourceImages, WritableRaster tile, Rectangle destRect)
- Overrides:
computeRect
in classjavax.media.jai.OpImage
-
-