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
1 vote
2 answers
287 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 ...
Tim's user avatar
  • 135
0 votes
1 answer
185 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 ...
Bryan Greenway's user avatar
2 votes
1 answer
652 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 ...
Goz's user avatar
  • 455
2 votes
1 answer
725 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 ...
user avatar
5 votes
2 answers
15k 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 ...
Raaj's user avatar
  • 295
5 votes
2 answers
5k 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 ...
val's user avatar
  • 445
4 votes
1 answer
11k 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 ...
Emil's user avatar
  • 41
2 votes
1 answer
99 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 ...
Lager's user avatar
  • 23
3 votes
1 answer
5k views

What is spatial correlation and spatial convolution?

What does the term spatial correlation and spatial convolution mean with respect to digital image processing ?
Suhail Gupta's user avatar
22 votes
1 answer
45k 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 ...
the_naive's user avatar
  • 363
4 votes
1 answer
21k views

Cross correlation with FFT and fftshift

When I calculate the cross correlation between two vectors with the following code ...
Pedro G.'s user avatar
  • 188
2 votes
2 answers
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) ...
Alex's user avatar
  • 45
2 votes
2 answers
1k 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 ...
TheGrapeBeyond's user avatar
2 votes
2 answers
861 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 ...
user4673's user avatar
  • 315
1 vote
0 answers
2k 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,...
strontivm's user avatar
1 vote
0 answers
208 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 ...
Dinesh's user avatar
  • 11
3 votes
1 answer
491 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 ...
Dan Sandberg's user avatar
4 votes
1 answer
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 ...
Ark-kun's user avatar
  • 143
-1 votes
1 answer
6k 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 ...
Animesh Pandey's user avatar
10 votes
2 answers
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 (...
Libor's user avatar
  • 4,255
3 votes
2 answers
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: ...
Libor's user avatar
  • 4,255
8 votes
3 answers
10k 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 ...
Animesh Pandey's user avatar
1 vote
2 answers
276 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 ...
Corovei Andrei's user avatar
0 votes
0 answers
60 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 ...
Dzung Nguyen's user avatar
1 vote
2 answers
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 ...
Keith's user avatar
  • 479
0 votes
2 answers
245 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? ...
mrgloom's user avatar
  • 550
2 votes
1 answer
712 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: ...
King Broos's user avatar
3 votes
1 answer
371 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 ...
mostar's user avatar
  • 259
5 votes
1 answer
1k views

Correlation filter output range normalization

I'm developing correlation filters based image recognition. I implemented MACE correlation filter in matlab: training code: ...
Chesnokov Yuriy's user avatar
4 votes
1 answer
278 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 ...
Martin Beckett's user avatar
3 votes
1 answer
289 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 ...
bubble's user avatar
  • 133
8 votes
2 answers
8k 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). ...
Developer's user avatar
  • 1,119
10 votes
2 answers
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 ...
jonsca's user avatar
  • 1,964

1 2 3 4
5