Package com.luciad.imaging
Class TLcdRasterImageBuilder
java.lang.Object
com.luciad.imaging.TLcdRasterImageBuilder
Builder for creating images from rasters. Parameters can be either set directly or
derived from a provided model. Four image types are supported and can be built via
their respective "build" method.
Multilevel images require a multilevel raster to be set,
otherwise a regular raster is needed.
You can find the other available builders on
com.luciad.imaging
.- Since:
- 2015.0
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new basic image.Create a new image mosaic.Create a new multilevel image.Create a new multilevel image mosaic.imageReference
(ILcdModelReference aImageReference) Set the image reference.levelRelationship
(ELcdLevelRelationship aLevelRelationship) Set the level relationshipSet the fallback model to derive unavailable parameters from.static TLcdRasterImageBuilder
Create a new image builder.raster
(ILcdMultilevelRaster aMultilevelRaster) Set the source raster to create images from.raster
(ILcdRaster aRaster) Set the source raster to create images from.samplingMode
(ELcdImageSamplingMode aSamplingMode) Set the image sampling mode.semantics
(List<ALcdBandSemantics> aSemantics) Set the image band semantics.
-
Method Details
-
newBuilder
Create a new image builder.- Returns:
- a new builder instance
-
buildBasicImage
Create a new basic image.- Returns:
- a new image
- Throws:
IllegalStateException
- if no source raster is defined or when the geo reference or image semantics have not been set and no model is available to derive them from
-
buildImageMosaic
Create a new image mosaic.- Returns:
- a new image
- Throws:
IllegalStateException
- if no source raster is defined or when the geo reference or image semantics have not been set and no model is available to derive them from
-
buildMultilevelImage
Create a new multilevel image.- Returns:
- a new image
- Throws:
IllegalStateException
- if no source raster is defined or when the geo reference or image semantics have not been set and no model is available to derive them from
-
buildMultilevelImageMosaic
Create a new multilevel image mosaic.- Returns:
- a new image
- Throws:
IllegalStateException
- if no source raster is defined or when the geo reference or image semantics have not been set and no model is available to derive them from
-
raster
Set the source raster to create images from.- Parameters:
aRaster
- the raster to use- Returns:
- this builder
-
raster
Set the source raster to create images from.- Parameters:
aMultilevelRaster
- the multilevel raster to use- Returns:
- this builder
-
model
Set the fallback model to derive unavailable parameters from.- Parameters:
aModel
- the model to use- Returns:
- this builder
-
imageReference
Set the image reference.- Parameters:
aImageReference
- the geographic reference- Returns:
- this builder
-
semantics
Set the image band semantics.- Parameters:
aSemantics
- the band semantics- Returns:
- this builder
-
samplingMode
Set the image sampling mode. The default value isELcdImageSamplingMode#AREA
.- Parameters:
aSamplingMode
- the sampling mode- Returns:
- this builder
-
levelRelationship
Set the level relationship- Parameters:
aLevelRelationship
- the level relationship- Returns:
- this builder
-