Enum Class MergeBehavior

Object
Enum<MergeBehavior>
MergeBehavior
All Implemented Interfaces:
Serializable, Comparable<MergeBehavior>, Constable

public enum MergeBehavior extends Enum<MergeBehavior>
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
  • Enum Constant Details

  • Method Details

    • values

      public static MergeBehavior[] 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

      public static MergeBehavior valueOf(String name)
      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 name
      NullPointerException - 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 input RenderedImage to produce the output of this mosaic.
      Returns:
      a RenderedImage.
    • getDefault

      public static MergeBehavior getDefault()
      Retrieves the default MergeBehavior.
      Returns:
      the default MergeBehavior.
    • valuesAsStrings

      public static String[] valuesAsStrings()
      Retrieves the possible values as Strings.
      Returns:
      an arrays of String that contains the representation of each value.