public abstract class AbstractMosaicSubsetMultiLevelSource extends AbstractMultiLevelSource
Modifier and Type | Field and Description |
---|---|
protected Rectangle |
imageReadBounds |
protected TileImageDisposer |
tileImageDisposer |
protected Dimension |
tileSize |
NULL
Modifier | Constructor and Description |
---|---|
protected |
AbstractMosaicSubsetMultiLevelSource(int levelCount,
Rectangle imageReadBounds,
Dimension tileSize,
AffineTransform imageToModelTransform) |
protected |
AbstractMosaicSubsetMultiLevelSource(int levelCount,
Rectangle imageReadBounds,
Dimension tileSize,
GeoCoding geoCoding) |
protected |
AbstractMosaicSubsetMultiLevelSource(Rectangle imageReadBounds,
Dimension tileSize,
AffineTransform imageToModelTransform) |
protected |
AbstractMosaicSubsetMultiLevelSource(Rectangle imageReadBounds,
Dimension tileSize,
GeoCoding geoCoding) |
Modifier and Type | Method and Description |
---|---|
protected <TileDataType> |
buildDecompressedTileImages(Rectangle imageCellReadBounds,
DecompressedImageSupport decompressedImageSupport,
int defaultImageWidth,
float translateLevelOffsetX,
float translateLevelOffsetY,
DecompressedTileOpImageCallback<TileDataType> tileOpImageCallback,
TileDataType tileData) |
protected abstract javax.media.jai.ImageLayout |
buildMosaicImageLayout(int level) |
protected javax.media.jai.RenderedOp |
buildMosaicOp(int level,
List<RenderedImage> tileImages,
boolean canCreateSourceROI) |
protected <TileDataType> |
buildUncompressedTileImages(int level,
Rectangle imageCellReadBounds,
int uncompressedTileWidth,
int uncompressedTileHeight,
float translateLevelOffsetX,
float translateLevelOffsetY,
UncompressedTileOpImageCallback<TileDataType> tileOpImageCallback,
TileDataType tileData) |
protected int |
computeLevelTotalImageHeight(int level) |
protected int |
computeLevelTotalImageWidth(int level) |
protected static int |
computeTopLeftDecompressedTileHeight(Rectangle imageCellReadBounds,
int decompressedTileHeight) |
protected static int |
computeTopLeftDecompressedTileWidth(Rectangle imageCellReadBounds,
int decompressedTileWidth) |
protected static int |
computeTopLeftUncompressedTileHeight(Rectangle imageCellReadBounds,
int uncompressedTileHeight) |
protected static int |
computeTopLeftUncompressedTileWidth(Rectangle imageCellReadBounds,
int uncompressedTileWidth) |
protected static float |
computeTranslateDifference(float levelTranslateOffset,
int levelCellImageSize,
int levelTotalImageSize,
int cellIndex,
int lastCellIndex,
int level) |
protected double[] |
getMosaicOpBackgroundValues() |
protected double[][] |
getMosaicOpSourceThreshold() |
void |
reset()
Removes all cached level images and also disposes
any
PlanarImage s among them. |
checkLevel, createImage, getImage, getImageDimension, getImageRectangle, getImageShape, getModel
protected final Rectangle imageReadBounds
protected final Dimension tileSize
protected final TileImageDisposer tileImageDisposer
protected AbstractMosaicSubsetMultiLevelSource(Rectangle imageReadBounds, Dimension tileSize, GeoCoding geoCoding)
protected AbstractMosaicSubsetMultiLevelSource(Rectangle imageReadBounds, Dimension tileSize, AffineTransform imageToModelTransform)
protected AbstractMosaicSubsetMultiLevelSource(int levelCount, Rectangle imageReadBounds, Dimension tileSize, GeoCoding geoCoding)
protected AbstractMosaicSubsetMultiLevelSource(int levelCount, Rectangle imageReadBounds, Dimension tileSize, AffineTransform imageToModelTransform)
protected abstract javax.media.jai.ImageLayout buildMosaicImageLayout(int level)
public void reset()
AbstractMultiLevelSource
PlanarImage
s among them.
Overrides should always call super.reset()
.
reset
in interface MultiLevelSource
reset
in class AbstractMultiLevelSource
protected final <TileDataType> List<RenderedImage> buildDecompressedTileImages(Rectangle imageCellReadBounds, DecompressedImageSupport decompressedImageSupport, int defaultImageWidth, float translateLevelOffsetX, float translateLevelOffsetY, DecompressedTileOpImageCallback<TileDataType> tileOpImageCallback, TileDataType tileData)
protected final <TileDataType> List<RenderedImage> buildUncompressedTileImages(int level, Rectangle imageCellReadBounds, int uncompressedTileWidth, int uncompressedTileHeight, float translateLevelOffsetX, float translateLevelOffsetY, UncompressedTileOpImageCallback<TileDataType> tileOpImageCallback, TileDataType tileData)
protected final int computeLevelTotalImageWidth(int level)
protected final int computeLevelTotalImageHeight(int level)
protected final javax.media.jai.RenderedOp buildMosaicOp(int level, List<RenderedImage> tileImages, boolean canCreateSourceROI)
protected double[] getMosaicOpBackgroundValues()
protected double[][] getMosaicOpSourceThreshold()
protected static float computeTranslateDifference(float levelTranslateOffset, int levelCellImageSize, int levelTotalImageSize, int cellIndex, int lastCellIndex, int level)
protected static int computeTopLeftDecompressedTileHeight(Rectangle imageCellReadBounds, int decompressedTileHeight)
protected static int computeTopLeftDecompressedTileWidth(Rectangle imageCellReadBounds, int decompressedTileWidth)
protected static int computeTopLeftUncompressedTileWidth(Rectangle imageCellReadBounds, int uncompressedTileWidth)
protected static int computeTopLeftUncompressedTileHeight(Rectangle imageCellReadBounds, int uncompressedTileHeight)
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.