Package org.geotools.gce.imagemosaic
Enum Class MergeBehavior
- All Implemented Interfaces:
 Serializable,Comparable<MergeBehavior>,Constable
This class is responsible for implementing the strategies for the mosaicking which can be a flat merge of
 band-stacking merge.
- Author:
 - Simone Giannecchini, GeoSolutions TODO check more conditions to use 
MosaicDescriptor 
- 
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>> - 
Enum Constant Summary
Enum Constants - 
Method Summary
Modifier and TypeMethodDescriptionstatic MergeBehaviorRetrieves the defaultMergeBehavior.abstract RenderedImageprocess(RenderedImage[] sources, double[] backgroundValues, double[][] inputThreshold, PlanarImage[] sourceAlpha, ROI[] sourceROI, MosaicType mosaicType, RenderingHints localHints) Process inputRenderedImageto produce the output of this mosaic.static MergeBehaviorReturns the enum constant of this class with the specified name.static MergeBehavior[]values()Returns an array containing the constants of this enum class, in the order they are declared.static String[]Retrieves the possible values as Strings. 
- 
Enum Constant Details
- 
STACK
 - 
FLAT
 - 
MAX
 - 
MIN
 
 - 
 - 
Method Details
- 
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
 - an array containing the constants of this enum class, in the order they are declared
 
 - 
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
 name- the name of the enum constant to be returned.- Returns:
 - the enum constant with the specified name
 - Throws:
 IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
 - 
process
public abstract RenderedImage process(RenderedImage[] sources, double[] backgroundValues, double[][] inputThreshold, PlanarImage[] sourceAlpha, ROI[] sourceROI, MosaicType mosaicType, RenderingHints localHints) Process inputRenderedImageto produce the output of this mosaic.- Returns:
 - a 
RenderedImage. 
 - 
getDefault
Retrieves the defaultMergeBehavior.- Returns:
 - the default 
MergeBehavior. 
 - 
valuesAsStrings
Retrieves the possible values as Strings.- Returns:
 - an arrays of 
Stringthat contains the representation of each value. 
 
 -