Package org.esa.snap.core.image
Class AbstractMatrixMosaicSubsetMultiLevelSource
- java.lang.Object
-
- com.bc.ceres.glevel.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 Classes Modifier and Type Class Description protected static classAbstractMatrixMosaicSubsetMultiLevelSource.MatrixReadBounds
-
Field Summary
Fields Modifier and Type Field Description protected MosaicMatrixmosaicMatrix-
Fields inherited from class org.esa.snap.core.image.AbstractMosaicSubsetMultiLevelSource
imageReadBounds, tileImageDisposer, tileSize
-
Fields inherited from interface com.bc.ceres.glevel.MultiLevelSource
NULL
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractMatrixMosaicSubsetMultiLevelSource(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
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract List<RenderedImage>buildMatrixCellTileImages(int level, Rectangle imageCellReadBounds, float translateLevelOffsetX, float translateLevelOffsetY, MosaicMatrix.MatrixCell matrixCell)protected AbstractMatrixMosaicSubsetMultiLevelSource.MatrixReadBoundscomputeTopLeftMatrixCellReadBounds()protected 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, reset
-
Methods inherited from class com.bc.ceres.glevel.support.AbstractMultiLevelSource
checkLevel, getImage, getImageShape, getModel
-
-
-
-
Field Detail
-
mosaicMatrix
protected final MosaicMatrix mosaicMatrix
-
-
Constructor Detail
-
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 Detail
-
buildMatrixCellTileImages
protected abstract List<RenderedImage> buildMatrixCellTileImages(int level, Rectangle imageCellReadBounds, float translateLevelOffsetX, float translateLevelOffsetY, MosaicMatrix.MatrixCell matrixCell)
-
createImage
protected final RenderedImage createImage(int level)
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()
-
-