Package org.esa.snap.core.image
Class VirtualBandOpImage
- 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.VirtualBandOpImage
-
- All Implemented Interfaces:
RenderedImage
,javax.media.jai.ImageJAI
,javax.media.jai.PropertyChangeEmitter
,javax.media.jai.PropertySource
,javax.media.jai.WritablePropertySource
public class VirtualBandOpImage extends SingleBandedOpImage
AnOpImage
which retrieves its data from the product reader associated with the givenRasterDataNode
at a given pyramid level.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VirtualBandOpImage.Builder
Used to create instances ofVirtualBandOpImage
s.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VirtualBandOpImage.Builder
builder(String expression, int contextSourceIndex, Product... sources)
static VirtualBandOpImage.Builder
builder(String expression, Product source)
static VirtualBandOpImage.Builder
builder(Term term)
protected void
computeRect(javax.media.jai.PlanarImage[] planarImages, WritableRaster writableRaster, Rectangle destRect)
Raster
computeTile(int tileX, int tileY)
void
dispose()
int
getDataType()
String
getExpression()
boolean
isMask()
static Term
parseExpression(String expression, int contextSourceIndex, Product... sources)
static Term
parseExpression(String expression, Product source)
-
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, mapDestRect, mapSourceRect
-
Methods inherited from class javax.media.jai.OpImage
addTileToCache, cancelTiles, createTile, 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
-
-
-
-
Method Detail
-
builder
public static VirtualBandOpImage.Builder builder(Term term)
-
builder
public static VirtualBandOpImage.Builder builder(String expression, Product source)
-
builder
public static VirtualBandOpImage.Builder builder(String expression, int contextSourceIndex, Product... sources)
-
parseExpression
public static Term parseExpression(String expression, int contextSourceIndex, Product... sources)
-
getDataType
public int getDataType()
-
isMask
public boolean isMask()
-
getExpression
public String getExpression()
-
dispose
public void dispose()
- Overrides:
dispose
in classjavax.media.jai.OpImage
-
computeTile
public Raster computeTile(int tileX, int tileY)
- Overrides:
computeTile
in classjavax.media.jai.SourcelessOpImage
-
computeRect
protected void computeRect(javax.media.jai.PlanarImage[] planarImages, WritableRaster writableRaster, Rectangle destRect)
- Overrides:
computeRect
in classjavax.media.jai.OpImage
-
-