Enum MosaicOperation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MosaicOperation>

    public enum MosaicOperation
    extends java.lang.Enum<MosaicOperation>
    Enumerates mosaic operation types. The mosaic operator is used to define how overlapping cells from various rasters in a mosaic dataset will be resolved in the mosaicked image.
    Since:
    100.9.0
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BLEND
      The overlapping areas will be a blend of the cell values that overlap.
      FIRST
      The overlapping areas will contain the cells from the first raster dataset listed in the mosaic dataset.
      LAST
      The overlapping areas will contain the cells from the last raster dataset listed in the mosaic dataset.
      MAX
      The overlapping areas will contain the maximum cell values from all the overlapping cells.
      MEAN
      The overlapping areas will contain the mean cell values from all the overlapping cells.
      MIN
      The overlapping areas will contain the minimum cell values from all the overlapping cells.
      SUM
      The overlapping areas will contain the total sum of the cell values from all the overlapping cells.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static MosaicOperation valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static MosaicOperation[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • FIRST

        public static final MosaicOperation FIRST
        The overlapping areas will contain the cells from the first raster dataset listed in the mosaic dataset.
        Since:
        100.9.0
      • LAST

        public static final MosaicOperation LAST
        The overlapping areas will contain the cells from the last raster dataset listed in the mosaic dataset.
        Since:
        100.9.0
      • MIN

        public static final MosaicOperation MIN
        The overlapping areas will contain the minimum cell values from all the overlapping cells.
        Since:
        100.9.0
      • MAX

        public static final MosaicOperation MAX
        The overlapping areas will contain the maximum cell values from all the overlapping cells.
        Since:
        100.9.0
      • MEAN

        public static final MosaicOperation MEAN
        The overlapping areas will contain the mean cell values from all the overlapping cells.
        Since:
        100.9.0
      • BLEND

        public static final MosaicOperation BLEND
        The overlapping areas will be a blend of the cell values that overlap. The blend value relies on an algorithm that is weight based and dependent on the distance from the cells to the edge within the overlapping area.
        Since:
        100.9.0
      • SUM

        public static final MosaicOperation SUM
        The overlapping areas will contain the total sum of the cell values from all the overlapping cells.
        Since:
        100.9.0
    • Method Detail

      • values

        public static MosaicOperation[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MosaicOperation c : MosaicOperation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MosaicOperation valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null