public class BandSelectOpImage
extends javax.media.jai.PointOpImage
OpImage
implementing the "BandSelect" operation.
This OpImage
copies the specified bands of the source
image to the destination image in the order that is specified.
BandSelectDescriptor
,
BandSelectCRIF
Constructor and Description |
---|
BandSelectOpImage(RenderedImage source,
Map<?,?> config,
javax.media.jai.ImageLayout layout,
int[] bandIndices)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
computesUniqueTiles() |
Raster |
computeTile(int tileX,
int tileY) |
Raster |
getTile(int tileX,
int tileY) |
dispose, isColormapOperation, mapDestRect, mapSourceRect, permitInPlaceOperation
addTileToCache, cancelTiles, computeRect, computeRect, createTile, getExpandedNumBands, getFormatTags, getOperationComputeType, getTileCache, getTileCacheMetric, getTileDependencies, getTileFromCache, getTileRecycler, getTiles, hasExtender, mapDestPoint, mapSourcePoint, prefetchTiles, queueTiles, recycleTile, setTileCache, vectorize, vectorize, vectorize
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
public BandSelectOpImage(RenderedImage source, Map<?,?> config, javax.media.jai.ImageLayout layout, int[] bandIndices)
source
- The source image.layout
- The destination image layout.bands
- The selected band indices of the source.
The number of bands of the destination is
determined by bands.length
.public boolean computesUniqueTiles()
computesUniqueTiles
in class javax.media.jai.OpImage
public Raster computeTile(int tileX, int tileY)
computeTile
in class javax.media.jai.PointOpImage
public Raster getTile(int tileX, int tileY)
getTile
in interface RenderedImage
getTile
in class javax.media.jai.OpImage
Copyright © 2006–2017 GeoSolutions. All rights reserved.