Enum Class ELcdImageSamplingMode

java.lang.Object
java.lang.Enum<ELcdImageSamplingMode>
com.luciad.imaging.ELcdImageSamplingMode
All Implemented Interfaces:
Serializable, Comparable<ELcdImageSamplingMode>, Constable

public enum ELcdImageSamplingMode extends Enum<ELcdImageSamplingMode>
Sampling mode of the image.

The following image clarifies the interpretation of the sampling mode. The green rectangle represents the bounds of the image. On the left side the colored rectangles represent pixels in an area-sampled basic image and on the right side the colored dots represent pixels in a point-sampled basic image.

Area vs Point sampled
Since:
2015.0
  • Enum Constant Details Link icon

    • AREA Link icon

      public static final ELcdImageSamplingMode AREA
      Area-sampled data.

      Each sample applies to the (small) area covered by a pixel. This is for example the case for data that is retrieved using a photometric sensor. This is often used for color data.

    • POINT Link icon

      public static final ELcdImageSamplingMode POINT
      Point-sampled data.

      Each sample applies to a single point. This is for example the case for data that is retrieved using laser scanning. This is often used for elevation data.

  • Method Details Link icon

    • values Link icon

      public static ELcdImageSamplingMode[] 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 Link icon

      public static ELcdImageSamplingMode 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