Package org.esa.snap.core.image
Class AbstractMatrixMosaicSubsetMultiLevelSource
java.lang.Object
com.bc.ceres.multilevel.support.AbstractMultiLevelSource
org.esa.snap.core.image.AbstractMosaicSubsetMultiLevelSource
org.esa.snap.core.image.AbstractMatrixMosaicSubsetMultiLevelSource
- All Implemented Interfaces:
MultiLevelSource
public abstract class AbstractMatrixMosaicSubsetMultiLevelSource
extends AbstractMosaicSubsetMultiLevelSource
Created by jcoravu on 12/12/2019.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
FieldsFields inherited from class org.esa.snap.core.image.AbstractMosaicSubsetMultiLevelSource
imageReadBounds, tileImageDisposer, tileSizeFields inherited from interface com.bc.ceres.multilevel.MultiLevelSource
NULL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractMatrixMosaicSubsetMultiLevelSource(int levelCount, MosaicMatrix mosaicMatrix, Rectangle imageMatrixReadBounds, Dimension tileSize, AffineTransform imageToModelTransform) protectedAbstractMatrixMosaicSubsetMultiLevelSource(MosaicMatrix mosaicMatrix, Rectangle imageMatrixReadBounds, Dimension tileSize, AffineTransform imageToModelTransform) protectedAbstractMatrixMosaicSubsetMultiLevelSource(MosaicMatrix mosaicMatrix, Rectangle imageMatrixReadBounds, Dimension tileSize, GeoCoding geoCoding) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract List<RenderedImage> buildMatrixCellTileImages(int level, Rectangle imageCellReadBounds, float translateLevelOffsetX, float translateLevelOffsetY, MosaicMatrix.MatrixCell matrixCell) protected final AbstractMatrixMosaicSubsetMultiLevelSource.MatrixReadBoundsprotected final RenderedImagecreateImage(int level) Called byAbstractMultiLevelSource.getImage(int)if a level image is requested for the first time.Methods inherited from class org.esa.snap.core.image.AbstractMosaicSubsetMultiLevelSource
buildDecompressedTileImages, buildMosaicImageLayout, buildMosaicOp, buildUncompressedTileImages, computeLevelTotalImageHeight, computeLevelTotalImageWidth, computeTopLeftDecompressedTileHeight, computeTopLeftDecompressedTileWidth, computeTopLeftUncompressedTileHeight, computeTopLeftUncompressedTileWidth, computeTranslateDifference, getMosaicOpBackgroundValues, getMosaicOpSourceThreshold, resetMethods inherited from class com.bc.ceres.multilevel.support.AbstractMultiLevelSource
checkLevel, getImage, getImageShape, getModel
-
Field Details
-
mosaicMatrix
-
-
Constructor Details
-
AbstractMatrixMosaicSubsetMultiLevelSource
protected AbstractMatrixMosaicSubsetMultiLevelSource(MosaicMatrix mosaicMatrix, Rectangle imageMatrixReadBounds, Dimension tileSize, GeoCoding geoCoding) -
AbstractMatrixMosaicSubsetMultiLevelSource
protected AbstractMatrixMosaicSubsetMultiLevelSource(MosaicMatrix mosaicMatrix, Rectangle imageMatrixReadBounds, Dimension tileSize, AffineTransform imageToModelTransform) -
AbstractMatrixMosaicSubsetMultiLevelSource
protected AbstractMatrixMosaicSubsetMultiLevelSource(int levelCount, MosaicMatrix mosaicMatrix, Rectangle imageMatrixReadBounds, Dimension tileSize, AffineTransform imageToModelTransform)
-
-
Method Details
-
buildMatrixCellTileImages
protected abstract List<RenderedImage> buildMatrixCellTileImages(int level, Rectangle imageCellReadBounds, float translateLevelOffsetX, float translateLevelOffsetY, MosaicMatrix.MatrixCell matrixCell) -
createImage
Description copied from class:AbstractMultiLevelSourceCalled byAbstractMultiLevelSource.getImage(int)if a level image is requested for the first time. Note that images created via this method will bedisposedwhenAbstractMultiLevelSource.reset()is called on this multi-level image source. SeeAbstractMultiLevelSource.getImage(int).The dimension of the level image created must be the same as that obtained from {DefaultMultiLevelSource.getLevelImageBounds(Rectangle sourceBounds, double scale)} for the scale associated with the given resolution level.
- Specified by:
createImagein classAbstractMultiLevelSource- Parameters:
level- The resolution level.- Returns:
- An instance of a
RenderedImagefor the given resolution level.
-
computeTopLeftMatrixCellReadBounds
protected final AbstractMatrixMosaicSubsetMultiLevelSource.MatrixReadBounds computeTopLeftMatrixCellReadBounds()
-