![]() |
ImFusion C++ SDK 4.5.0
|
Signal processing functions. More...
Signal processing functions.
Enumerations | |
| enum class | FilterType { Lowpass , Highpass , Bandpass } |
| Type of FIR filter. | |
Functions | |
| TypedImage< float > | sinusoidReal (float samplingFrequency, float signalFrequency, int signalLength, float amplitude=1.0f, float phase=0.0f, int axis=0) |
| Creates a 1D image with a sinusoid of the given frequency and length, phase = 0 means the signal is A*cos(f*2*pi*t). | |
| TypedImage< float > | sinusoidComplex (float samplingFrequency, float signalFrequency, int signalLength, float amplitude=1.0f, float phase=0.0f, int axis=0) |
| Creates a two-channel, 1D image with a complex sinusoid of the given frequency and length, A*exp(i*f*2*pi*t) = A*cos(f*2*pi*t) + A*i * sin(f*2*pi*t). | |
| TypedImage< float > | createFirFilter (FilterType filterType, float samplingFrequency, float cutoffFrequencyLower, float cutoffFrequencyUpper, int filterLength, int axis=0) |
| Creates a finite impulse response (FIR) filter, weighted with a hamming window, returned as a 1D image. | |