Signal Padding Enumeration
Specifies the boundary padding mode for signal processing operations.
Definition
Namespace: Numerics.NET.SignalProcessing
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
public enum SignalPaddingRemarks
These padding modes define how a signal is extended beyond its boundaries when performing operations like convolution or correlation.
For a signal [0, 1, 2, 3, 4, 5] with boundaries at both ends:
- Zero: ...0 0 0 | 0 1 2 3 4 5 | 0 0 0...
- Reflect: ...3 2 1 | 0 1 2 3 4 5 | 4 3 2...
- Replicate: ...0 0 0 | 0 1 2 3 4 5 | 5 5 5...
- Wrap: ...3 4 5 | 0 1 2 3 4 5 | 0 1 2...
Members
| Zero | 0 | Pad with zeros outside the signal boundaries. |
| Reflect | 1 | Reflect the signal at the boundaries (mirror without repeating edge values). |
| Replicate | 2 | Replicate the edge values to extend the signal. |
| Wrap | 3 | Wrap the signal periodically (circular extension). |