Questions tagged [correlation]

Correlation or Cross-Correlation is a measure of similarity of two waveforms as a function of a time-lag applied to one of them.

Filter by
Sorted by
Tagged with
0
votes
0answers
856 views

Why does a phase shift in the frequency domain not produce a time delay in the time domain?

Suppose I have an input signal which represents a vehicle front suspension response that has been measured using an accelerometer. It is seen that the measured rear suspension response is effectively ...
1
vote
1answer
528 views

Measuring the similarity of two waveforms [closed]

I have two approximately sine truncated waveforms of different amplitudes and I want a numerical measure of how similar they are to each other. I am sending a sonic pulse train whose multiple ...
0
votes
1answer
1k views

Cross-Correlation : Comparing two signals or finding the location of a target

I read across places that cross-correlation of two signal (a radar sending a signal and receiving it back) one can detect the location (distance) of a target from a point and that cross-correlation ...
-1
votes
1answer
1k views

Correlation : Cross correlation why we need to multiply the samples

I understand what books states about cross-correlation of signals and their mathematical representation: For continuous functions f and g, the cross-correlation is defined as: $(f \star g)(\tau)\ \...
0
votes
1answer
102 views

Timing synchronization in limited channel

I need measure timing of an signal that is send through a noise band limited channel (wireless). By measure timing, I mean measure as exactly as possible when the signal has arrived at the receiver. ...
12
votes
3answers
2k views

What Does It Mean Exactly When Two Parts of a Signal Are Correlated?

I stumble quite often upon the notion that two or more parts of a signal are correlated to describe semi-formally that they belong together. For example in image processing, two pixels on an edge ...
2
votes
1answer
446 views

Correlation meter

I have three questions regarding the correlation meters used in audio. How are they calculated? I have heard correlation is performed by convolving one signal with the time flipped version of a other,...
10
votes
2answers
764 views

What is obtained from the cross correlation plot?

Let’s assume that we have two audio signals, x(t) and y(t) affected by the noise as shown below. And we would like to cross-correlate these two signals and the cross-correlation plot is shown as ...
0
votes
1answer
1k views

calculate relative error of two signals [duplicate]

I'm new to dsp.stackexchange and digital signal processing. I'm required to develop an app to measure the similarity of two signals.for an example I need to compare breathing of a man whether it is ...
0
votes
2answers
282 views

Minimum Samples Per Chip?

Is there a 'Nyquist Criteria' for the minimum samples per chip that are needed for a correlator? I've heard 2, but will 1 work? What are the implications of having less than the minimum (in the ...
1
vote
1answer
181 views

What type of correlation is this equation?

In a book [1], gives an equation (equation 5.31 in the book) for estimating frequency offset in OFDM systems proposed by Classen. the procedure is: first, two OFDM symbols, $y_l [n]$ and $y_{l+D} [...
0
votes
1answer
16k views

Autocorrelation function of a discrete signal

For a certain experiment of which I have data, I want to calculate the autocorrelation of the measurements. For this I used the expression from Wikipedia, which reads Here, $n$ is the dataset's size, ...
1
vote
0answers
287 views

ACF and PACF Confidence Levels for ARMA

I'm trying to figure out where exactly to draw the confidence levels for the autocorrleation function (ACF) and the partial autocorrelation function (PACF) for an ARMA model. For PACF I found that a ...
3
votes
1answer
150 views

Extracting common signal from 4 sets of observations

I am working on a signal processing assignment where I need to find out one common time domain signal from 4 observation. The math is like this: \begin{array}{lcl} y_1(t) & = & a_1(t)*x(t) + ...
0
votes
1answer
39 views

Finding correct values based on information from two arrays

Consider the following scenario: Say, one machine is sending out a beep signal every 10 seconds in a very noisy environment. I have two sensors which detects these beeps independently. Device A is ...
2
votes
1answer
467 views

Using a Wiener Filter to Estimate a Transfer Function

As a follow-on to this question about estimating a transfer function of an unknown system using a Wiener filter, How would you put a minimum MSE criteria on how well the estimated filter weights ...
1
vote
2answers
238 views

Decompose stereo signal

Basically the same as this question, but it was never really answered: Stereo sound separation into three sources Imagine I have a really trivial signal: Left: 100Hz tone + 200Hz tone + 500Hz tone ...
0
votes
1answer
160 views

Wave Correlation?

I have an image processing application that is different than anything that I've done before, and am looking for suggestions on how to approach. Here is a basic description of the problem: Given a ...
2
votes
1answer
545 views

Cross-correlation of time compressed 1D signal

If I ave 2 otherwise identical 1D signals that are phase shifted from each other then cross-correlation is a perfect way to identify the time lag between the 2 signals. Now supposing I double the ...
1
vote
1answer
601 views

Detecting a frequency pattern in the frequency domain

I am looking to detect a combination of frequencies in the frequency domain. For example, here is my spectrum: And I'm trying to detect the pilot tone. I have the FFT of the pilot tone: which zoomed ...
3
votes
2answers
13k views

Applications of Correlation in Signal Processing

There have been discussions on the differences between convolution and correlation, autocorrelation, cross-correlation, et al. In spite of looking at the visualizations, and understanding the formula ...
3
votes
2answers
4k views

Compressive Sensing - Incoherence Property

Compressive Sensing is built on 2 properties: 1) the sparsity of the representation basis relative to the sampling basis and 2) the incoherence between the singular vectors from each of the 2 bases in ...
3
votes
1answer
9k views

numpy.correlate and autocorrelation; audio signal

I want to calculate delay between an input and an output audio signal of my audio processing system. The input and output signals are available as signed 16 bit integers. To try out, I tried the ...
2
votes
1answer
78 views

What is the set of most predictable or in other words most self-correlated signals?

Which signals or set of signals is the most predictable or in other words most self-correlated (autocorrelation)? I think one of them is $x(t)=c$, for all $t$, where $c$ is a scalar constant. The ...
3
votes
1answer
4k views

What is spatial correlation and spatial convolution?

What does the term spatial correlation and spatial convolution mean with respect to digital image processing ?
19
votes
1answer
41k views

Difference Between Correlation and Convolution in the Context of Image Processing

Could you please clearly explain what is the difference between correlation and convolution that is done by a filter on an image? I mean in terms of signal processing definition I know that ...
4
votes
1answer
18k views

Cross correlation with FFT and fftshift

When I calculate the cross correlation between two vectors with the following code ...
2
votes
2answers
1k views

MACE correlation filter - any suggested values of of u?

I am trying to understand the MACE correlation filter as per the paper Mahalanobis, A., Kumar, B.V.K.V., Casasent, D.: Minimum average correlation energy filters. Appl. Opt. 26, 3630–3633 (1987) ...
2
votes
2answers
815 views

Need help understanding convolution indexing

Ok, this is leaving me increasingly frustrated. This builds on a previous question here but I am still not getting the indexing, although I learned from that question all the same. Case 1: First ...
2
votes
2answers
643 views

minimum sampling rate for very short duration signals

I understand that sampling rate should be twice the signal bandwidth for successful reconstruction. But what I don't get is how this translates in the time domain. For example, I have a sine wave ...
2
votes
0answers
1k views

Calculation of the correlation of two sinusoidals

First of all I apologize for the long question. I am working with a 3-axis accelerometer and a 3-axis gyroscope and I need to calculate the correlation between the different signals (acceleration in x,...
1
vote
0answers
204 views

Evaluating auto correlation strength (Gamma)

I'm working on Cognitive Radio in TV Band Spectrum. I need to sense the presence of signal in a particular spectrum. I have to sample the incoming signal (say 1000 samples) and I have to find the ...
3
votes
1answer
427 views

How do you find signal similarity when one signal has zero values? Correlation alternative?

I'm using cross-correlation to look for a Barker code in a BPSK signal. It occurred to me that if I send out a zero DC valued signal proceeding the barker code, it won't affect the correlation ...
4
votes
1answer
2k views

Matching masked images

Let's say I have two images that are parts of the same bigger image, cut using two masks (for simplicity, let's assume that the masks are just rectangles of the same size). The images are presumed to ...
-2
votes
1answer
4k views

Normalized Square Error vs Pearson correlation as similarity measures of two signals

Which measure should be considered better and when ? I tested both the measures on some data that I have and I got mixed results i.e. some are showing better results with Pearson and some with the ...
9
votes
2answers
8k views

Phase Correlation - Poor Performance on Noisy/Blurred Images?

I have successfully tested 1D phase correlation algorithm to determine vertical shift between two synthetic images. When I moved to real images, however, it is not able to detect translation at all (...
3
votes
2answers
1k views

Phase Correlation and Negative Shifts

I am implementing phase correlation algorithm to determine shift between two images. It generally works, but I am not sure how to interpret the resulting shift. Pseudocode: ...
7
votes
3answers
9k views

Calculating similarity between two signal plots

I have two plots, each having frequency as x-axis and Gain as y-axis. By taking one data set as a reference I have to calculate similarity between them. The graphs have same values on the x-axis and ...
1
vote
2answers
264 views

Correlation between 2 functions

I have a periodical function $f(x)$ that is sampled in time, at a rate of 1 millisecond. Together with this, I also have a second function $t(x)$. I want to find the correlations between periods ...
0
votes
0answers
56 views

Implement average as correlation

I have a MxN image matrix in, and need to get out matrix out size MxN as follows: Each point out[i,j] is the average of all in[i,j] inside a window size WxW (if boundary allows). For example if W=10 ...
1
vote
2answers
3k views

Why do you get instantaneous phase by calculating correlation with a carrier signal?

I am somewhat new to DSP. I'm trying to implement BPSK by following this Python QAM tutorial. My code seems to work, but I really just ported the tutorial's Python code to C++, and do not understand ...
0
votes
2answers
235 views

image correlation without fft

I want to stitch 2 images by crosscorrelation measure, but I don't want to use fft. I tryed this but something seems to be wrong.any suggestions? ...
2
votes
1answer
665 views

Audio codec analysis in MATLAB: crosstalk

I am currently making an analysis of a codec system that can encode up to 2 wave files into 1 file and decode it. Here is a simple illustration: ...
3
votes
1answer
325 views

Can FFT Substitute Correlation for This Case?

I'm trying to determine frequency of a repeating pattern in a time series. The sampling rate 100Hz and the pattern repeats itself with periods between 0.5 second and 1.25 second. This corresponds to a ...
5
votes
1answer
1k views

Correlation filter output range normalization

I'm developing correlation filters based image recognition. I implemented MACE correlation filter in matlab: training code: ...
4
votes
1answer
261 views

Matching delayed signals

I have pairs of 1d digitised waveform signals which are almost identical - except there are sections which are the same in both but one is delayed slightly. I need to find sections and the delay with ...
3
votes
1answer
176 views

Component of one signal along the another

Whenever we need to find component of one signal along another signal we can do so by the help of dot product. I want to as if this method is valid for all kind of signals. Are there any restrictions ...
8
votes
2answers
6k views

Detection of lines in a point cloud

What are the best solutions to detect line in a point cloud? Comparison being made with and between Hough Transform, Radon Transform, RANSAC (see wikipedia) and Brute-Force Search (see wikipedia). ...
9
votes
2answers
2k views

Is a wavelet-based correlation measure worth any additional computational overhead?

I have used both correlation and coherence as measures of correlation between signals. I was thinking that a time-frequency approach would give me the best of these worlds. My question is whether ...

1 2 3
4