OpenCV  4.10.0
Open Source Computer Vision
Loading...
Searching...
No Matches
Functions
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