Most Popular

1500 questions
48
votes
6 answers

The difference between convolution and cross-correlation from a signal-analysis point of view

I am trying to understand the difference between convolution to cross-correlation. I have read an understood This answer. I also understand the picture below. But, in terms of signal processing, (a field which I know little about..), Given two…
MathBgu
  • 583
  • 1
  • 5
  • 5
47
votes
3 answers

Why is the FFT "mirrored"?

If you do an FFT plot of a simple signal, like: t = 0:0.01:1 ; N = max(size(t)); x = 1 + sin( 2*pi*t ) ; y = abs( fft( x ) ) ; stem( N*t, y ) 1Hz sinusoid + DC FFT of above I understand that the number in the first bin is "how much DC" there is…
bobobobo
  • 895
  • 1
  • 7
  • 12
47
votes
6 answers

Simplest way of detecting where audio envelopes start and stop

Below is a signal which represents a recording of someone talking. I would like to create a series of smaller audio signals based on this. The idea being to detect when 'important' sound starts and ends and use those for markers to make new snippet…
Eric Brotto
  • 819
  • 2
  • 8
  • 11
43
votes
1 answer

How to flatten the image of a label on a food jar?

I'd like to take pictures of labels on a jar of food, and be able to transform them so the label is flat, with the right and left side resized to be even with the center of the image. Ideally, I'd like to use the contrast between the label and the…
mahboudz
  • 533
  • 1
  • 4
  • 5
42
votes
6 answers

What Properties Make Certain Wavelets "Better" Than Others In Image Compression?

I am trying to teach myself more about image compression using the wavelet transform method. My question is: What is it about certain wavelets that make them preferable when compressing images? Are they easier to compute? Do they produce smoother…
user807566
  • 521
  • 4
  • 5
39
votes
3 answers

What are the most common algorithms for adaptive thresholding?

Adaptive thresholding has been discussed in a few questions earlier: Adaptive Thresholding for liver segmentation using Matlab What are the best algorithms for document image thresholding in this example? Of course, there are many algorithms for…
Dipan Mehta
  • 5,569
  • 2
  • 28
  • 53
37
votes
5 answers

Determining the mean and standard deviation in real time

What would be the ideal way to find the mean and standard deviation of a signal for a real time application. I'd like to be able to trigger a controller when a signal was more than 3 standard deviation off of the mean for a certain amount of time. …
jonsca
  • 1,914
  • 3
  • 21
  • 39
37
votes
1 answer

Does the autocorrelation function completely describe a stochastic process?

Is a stochastic process completely described by its autocorrelation function? If not, which additional properties would be needed?
Andreas
  • 1,918
  • 2
  • 19
  • 27
37
votes
2 answers

What's the difference between the Hough and Radon transforms?

I'm familiar with the Radon transform from learning about CT scans, but not the Hough transform. Wikipedia says The (r,θ) plane is sometimes referred to as Hough space for the set of straight lines in two dimensions. This representation makes the…
endolith
  • 14,765
  • 7
  • 63
  • 114
36
votes
7 answers

Understanding the Matched Filter

I have a question about matched filtering. Does the matched filter maximise the SNR at the moment of decision only? As far as I understand, if you put, say, NRZ through a matched filter, the SNR will be maximised at the decision point only and…
user968243
  • 737
  • 2
  • 7
  • 12
36
votes
7 answers

What is the most lucid, intuitive explanation for the various FTs - CFT, DFT, DTFT and the Fourier Series?

Even after having studied these for quite sometime, I tend to forget (if I'm out of touch for a while) how they are related to each other and what each stands for (since they have such similar sounding names). I'm hoping you'd come up with an…
Vighnesh
  • 469
  • 5
  • 7
36
votes
4 answers

Hilbert transform to compute signal envelope?

I've heard that the Hilbert transform can be used to calculate the envelope of a signal. How does this work? And how is this "Hilbert envelope" different from the envelope one gets by simply rectifying a signal? I'm interested specifically in…
dB'
  • 965
  • 2
  • 9
  • 9
36
votes
6 answers

Difference between discrete time fourier transform and discrete fourier transform

I have read many articles about DTFT and DFT but am not able to discern the difference between the two except for a few visible things like DTFT goes till infinity while DFT is only till N-1. Can anyone please explain the difference and when to use…
BaluRaman
  • 609
  • 2
  • 8
  • 12
36
votes
9 answers

Is there an algorithm for finding a frequency without DFT or FFT?

I was looking in the Android app store for a guitar tuner. I found a tuner app that claimed it was faster than other apps. It claimed it could find the frequency without using the DFT (I wish I still had the URL to this specification). I have never…
Slamice
  • 463
  • 1
  • 4
  • 6
35
votes
4 answers

What are good ways to detect signal clipping in a recording?

Given a recording I need to detect whether any clipping has occurred. Can I safely conclude there was clipping if any (one) sample reaches the maximum sample value, or should I look for a series of subsequent samples at the maximum level? The…
Han
  • 769
  • 1
  • 6
  • 10