Class TLcdEarthImageCombiner
java.lang.Object
com.luciad.earth.metadata.preprocessor.combiner.ALcdEarthTileCombiner
com.luciad.earth.metadata.preprocessor.combiner.TLcdEarthImageCombiner
- All Implemented Interfaces:
ILcdEarthTileCombiner
Combiner for
BufferedImage
objects.
This class is thread-safe.- Since:
- 8.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncombineTileData
(ALcdEarthTile[][] aInputTiles, Object[][] aInputData) Combines the data present in the four input tiles.Returns the type of data that can be combined by this combiner.int
Returns the resampling hints to be used when creating scaled-down images.void
setResamplingHint
(int aResamplingHint) Sets the resampling hint to be used when creating scaled-down images.Methods inherited from class com.luciad.earth.metadata.preprocessor.combiner.ALcdEarthTileCombiner
combineTiles, combineTiles, createCombinedTile
-
Constructor Details
-
TLcdEarthImageCombiner
public TLcdEarthImageCombiner()Constructs a newTLcdEarthImageCombiner
.
-
-
Method Details
-
getDataFormat
Description copied from interface:ILcdEarthTileCombiner
Returns the type of data that can be combined by this combiner. ThegetData()
methods of the four input tiles should all return an object of this format.- Returns:
- the data format supported by this combiner
-
combineTileData
Description copied from class:ALcdEarthTileCombiner
Combines the data present in the four input tiles. Returns a new data object to be contained in the result ofcombineTiles()
.- Specified by:
combineTileData
in classALcdEarthTileCombiner
- Parameters:
aInputTiles
- the four source tilesaInputData
- the data objects of four source tiles- Returns:
- a new data object for the combined tiles
-
getResamplingHint
public int getResamplingHint()Returns the resampling hints to be used when creating scaled-down images.- Returns:
- the resampling hints to be used when creating scaled-down images
- See Also:
-
setResamplingHint
public void setResamplingHint(int aResamplingHint) Sets the resampling hint to be used when creating scaled-down images. The value of this property must be one of theSCALE_*
constants defined injava.awt.Image
(SCALE_FAST
,SCALE_SMOOTH
etc.). This property controls the algorithm used by thecombineTileData()
method.- Parameters:
aResamplingHint
- the resampling hint to be used
-