Enum Class ConvolverEdgeMethod

java.lang.Object
java.lang.Enum<ConvolverEdgeMethod>
com.irurueta.numerical.signal.processing.ConvolverEdgeMethod
All Implemented Interfaces:
Serializable, Comparable<ConvolverEdgeMethod>, Constable

public enum ConvolverEdgeMethod extends Enum<ConvolverEdgeMethod>
This enumerator indicates how edges should be treated during convolution. Repeat and mirror edge extension methods can be used to prevent certain artifacts when reaching edges of signal.
  • Enum Constant Details

    • ZERO_EDGE

      public static final ConvolverEdgeMethod ZERO_EDGE
      When convolution kernel reaches edge of signal being convoluted, it is assumed that the signal value is zero.
    • CONSTANT_EDGE

      public static final ConvolverEdgeMethod CONSTANT_EDGE
      When convolution kernel reaches edge of signal being convoluted, it is assumed that the signal has a constant value (with a value that can be setup).
    • REPEAT_EDGE

      public static final ConvolverEdgeMethod REPEAT_EDGE
      When convolution kernel reaches edge of signal being convoluted, it is assumed that the signal is repeated indefinitely.
    • MIRROR_EDGE

      public static final ConvolverEdgeMethod MIRROR_EDGE
      When convolution kernel reaches edge of signal being convoluted, it is assumed that the signal is mirrored.
  • Constructor Details

    • ConvolverEdgeMethod

      private ConvolverEdgeMethod()
  • Method Details

    • values

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