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

learn more… | top users | synonyms

0
votes
0answers
18 views

Convolution / Correlation correct implementation in java

I have a java programm which is manipulating an RGB picture which comes in a 3dimensional matrix. I tried to implement an apply Convolution and an apply Correlation function, which applies a kernel ...
0
votes
0answers
19 views

Matlab: Conceptual issues on correlation and its analytical expression

Let x = [1 0.9 0.1 -0.3]'. The formula for Autocorrelation is E[x*x'] which should give a vector of mean values. The ...
2
votes
4answers
88 views

Find Short Clip of Audio Within Longer Clip Of Audio

I need help figuring out a way to automatically synchronize two audio files that are both different recordings of the same source. More info below. This example is from a concert, where there is ...
0
votes
1answer
44 views

Correlation between Sin and Square wave

I would like to know how $\frac T2$ came for time period in the image below.Because I think the frequncy is 1 so time period should be 1.Is that correct? or can anyone help me.. The article from ...
0
votes
0answers
18 views

Dynamic time warping with correlation as the cost function

I want to compare two signals using dynamic time warping, to find a time-mapping between two signals but I am not quite getting the expected result. Question 1 Can you set the dynamic time warping ...
0
votes
1answer
54 views

Similarity between two Signals: cycle by cycle

I need to find the similarity between two signals, i.e., measured signal and the reference signal(e.g. a simple sinusoidal signal). What I mean by similarity is, if there is any decentralized glitch ...
1
vote
1answer
38 views

Image correlation confidence measure

I am trying to calculate the disparity between stereo image pairs. I'm using what appears to be the standard approach of correlating between a window of pixels from one image and a sliding window ...
0
votes
0answers
103 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 ...
0
votes
1answer
54 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
0answers
92 views

how to comparing two audio signals?

I know this question has been asked in so many places but I can't still figure out how to solve this. I have two audio signals of breathing. One is a healthy breathing and it is saved inside the ...
0
votes
1answer
67 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
83 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
27 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. ...
4
votes
3answers
272 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
58 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 ...
4
votes
2answers
188 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
71 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
62 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
84 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
323 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 http://en.wikipedia.org/wiki/Autocorrelation#Estimation, ...
1
vote
0answers
36 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
63 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
33 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 ...
1
vote
1answer
206 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 ...
0
votes
2answers
88 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
78 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
141 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 ...
4
votes
1answer
350 views

Ambiguous results of phase correlation in pattern recognition

We are using phase correlation to find pattern on image and what we get is 15% of results is spurious. Ours pattern has 32x32 pixels and image for research has 32x512 pixels. So we put Pattern to ...
1
vote
1answer
90 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 ...
1
vote
2answers
580 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 ...
3
votes
2answers
766 views

Incoherence property - Compressive Sensing

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 ...
2
votes
0answers
855 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
45 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 ...
1
vote
1answer
692 views

What is spatial correlation and spatial convolution?

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

Difference between correlation and convolution on an image?

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

Cross correlation with FFT and fftshift

When I calculate the cross correlation between two vectors with the following code ...
1
vote
2answers
146 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) ...
1
vote
2answers
151 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
223 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 ...
1
vote
0answers
229 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 ...
1
vote
0answers
83 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 ...
2
votes
1answer
180 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 ...
3
votes
1answer
274 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
860 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 ...
5
votes
2answers
2k 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 ...
2
votes
0answers
336 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: ...
4
votes
3answers
2k 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
225 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
43 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
2k 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 ...