OpenCV
Open Source Computer Vision
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Signal Processing

Detailed Description

This module includes signal processing algorithms.

Functions

void cv::signal::resampleSignal (InputArray inputSignal, OutputArray outSignal, const int inFreq, const int outFreq)
 Signal resampling.
 

Function Documentation

◆ resampleSignal()

void cv::signal::resampleSignal ( InputArray inputSignal,
OutputArray outSignal,
const int inFreq,
const int outFreq )
Python:
cv.signal.resampleSignal(inputSignal, inFreq, outFreq[, outSignal]) -> outSignal

#include <opencv2/signal/signal_resample.hpp>

Signal resampling.

Parameters
[in]inputSignalArray with input signal.
[out]outSignalArray with output signal
[in]inFreqInput signal frequency.
[in]outFreqOutput signal frequency. Signal resampling implemented a cubic interpolation function and a filtering function based on Kaiser window and Bessel function, used to construct a FIR filter. Result is similar to scipy.signal.resample.

Detail: https://en.wikipedia.org/wiki/Sample-rate_conversion