Enum Class ConvolverEdgeMethod
- All Implemented Interfaces:
Serializable
,Comparable<ConvolverEdgeMethod>
,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen 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).When convolution kernel reaches edge of signal being convoluted, it is assumed that the signal is mirrored.When convolution kernel reaches edge of signal being convoluted, it is assumed that the signal is repeated indefinitely.When convolution kernel reaches edge of signal being convoluted, it is assumed that the signal value is zero. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConvolverEdgeMethod
Returns the enum constant of this class with the specified name.static ConvolverEdgeMethod[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ZERO_EDGE
When convolution kernel reaches edge of signal being convoluted, it is assumed that the signal value is zero. -
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
When convolution kernel reaches edge of signal being convoluted, it is assumed that the signal is repeated indefinitely. -
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
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
-