Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Smoothing a signal or data set approximates the data to reveal patterns and exclude noise, fine-scale structure and rapid changing phenomina.

0
votes
1answer
29 views

What Are Different Approaches to Realize a Gaussian Blur (Smoothing) Step on an Image? [closed]

I read somewhere that there are at least 2 approaches to realize a Gaussian smoothing step in image processing. However, I only know convolution. What can be another smoothing step?
1
vote
0answers
19 views

EKF smoothing for prediction at t=0 when no there is no measurement

I have a simple first-order reaction batch system for which I have some discrete measurements ($0<t_{k}\le t_{endbatchsample}$). I have an initial guess for $x_0$ and $P_0$ and from here I ...
3
votes
1answer
155 views

Does this Signal Smoothing algorithm have a name?

We are reverse engineering some 20 year old software. Original developers were laid off years ago, and cannot be found. In this code, there is a signal that is getting smoothed as follows: $P_{new} ...
0
votes
0answers
29 views

temporal smoothing and signal distortion

I compare two signals (blue and red). Each signal is an average of many observations (shades are standard error of mean). I need to show that the the blue signal is significantly above red one at the ...
6
votes
4answers
265 views

Make a signal that fits another the best possible with a limitation in the 2nd derivative

Consider this step function: The signal that "fits" this should look like the following (in green): The corners are now smooth because the maximum second derivative allowed is not infinite anymore. ...
0
votes
1answer
33 views

How to smoothen signal with missing values before differentiation?

I want to differentiate a noisy signal with many, randomly located, missing data values. Which smoothing techniques should be applied before differentiating the signal? I have a velocity signal at ...
0
votes
1answer
103 views

How to smooth (or interpolate) phase of FFT and reduce data points

I am writing some code for audio analysis, and have currently got two signals with FFT performed on them. I get the phase of my complex array by using: ...
1
vote
0answers
43 views

Estimate standard deviation of random-walk using Kalman filter

I'm new to Kalman filters so this might be a stupid question. I created a Kalman filter that takes in time series observations and estimates the mean of that time series. This is simply modeling a ...
0
votes
2answers
115 views

How to Mesure the smoothness of a signal

so how can i determine if a signal is smooth or not ? And if its possible to get something indicating the level of the smoothness of my signal. I looked at the r-squared and hurst exponent but i ...
0
votes
0answers
33 views

Is the higher order spline interpolation better than the cubic spline interpolation? [duplicate]

i am so confused with the accuracy of the spline interpolation. if higher order spline is better, then please do mention the examples. thank you!
1
vote
1answer
34 views

Should zero element be considered to calculate mean when smoothing spectrogram by window?

My (mass spectrometry) spectrogram does not measure the intensity constantly. I obtain the spectrogram, for example, ...
0
votes
0answers
24 views

Smooth data of Biozimpedance

I'm dealing with data of Biozimpedance to extract the respiration rate and trying to smooth it before further processing. The simpest way I used is a moving average. The problem I'm having is that ...
2
votes
2answers
69 views

What is limit on performance of edge-preserving filters for low signal-to-noise regimes?

Let's say I have a signal, $x(t)$, defined as such, $ x(t) = \begin{cases} 0 &\text{if} \,\,\, t < -\alpha/2 \\ \frac 1\alpha t+\frac12 &\text{if} \,\,\, -\alpha/2 \leq t \leq \alpha/2 \...
2
votes
2answers
301 views

Find smoothed first derivative from signal with noisy slope

How can I get filtered first derivative from a noisy signal that has slowly changing slope in form of y=kx+b? k can slowly ...
-1
votes
1answer
143 views

Smoothing or bigger FFT bins?

I have an FFT of a radio signal, to look at "what's happening" in the frequency domain. I'm interested in signals that are "wide enough", eg 1MHz, and thus would like to smooth the result to filter ...
0
votes
1answer
40 views

Removing the Multiples of Decrease and Increase in a Spike

I have a signal shown below. I got this signal from a glove, where I want to detect the movement of a finger. What I am planning to do is to threshold the signal, so I can get a binary signal ...
2
votes
1answer
143 views

smooth noisy irregularly spaced data containing peaks

I've got a set of scans of an object (human body) from different angles, which are being combined to reconstruct a 2D-representation. The raw measurements (blue plot below) contain a fair amount of ...
0
votes
2answers
194 views

Effect of Gaussian blur on different frequency components in the image

Gaussian blur is lowpass filter which means it pass the low frequency components and stop the high frequency component but the point I am not getting is that if it is lowpass filter then how it is ...
2
votes
2answers
721 views

Estimating the standard deviation of Gaussian filter from smoothed image

Firstly, let's say that in order to smooth an image, I convolve it with a Gaussian function having standard deviation $\sigma_x$ and $\sigma_y$. I am now interested in knowing if there exist methods ...
0
votes
0answers
108 views

Triangle smoothing

How can I make a triangle smoothing matrix? I have tried Toeplitz matrix but I need it to be symmetric and invertible. I want to apply it to my data by matrix multiple. I tried this: ...
26
votes
5answers
6k views

Is there a technical term for this simple method of smoothing out a signal?

Firstly, I am new to DSP and have no real education in it, but I am developing an audio visualization program and I am representing an FFT array as vertical bars as in a typical frequency spectrum ...
0
votes
1answer
539 views

Generating smoothed versions of square wave, triangular, etc

I'm trying to get functions depicting smoothed out versions of wave forms(triangle,square, sawtooth, reverse sawtooth) which have the same amplitude and frequency as $cos(x)$. I found a few ...
1
vote
0answers
243 views

Fast implementation of LOESS for equally spaced samples (possibly using convolution)

Is it possible to do LOESS smoothing on equally spaced data using convolution? The Wikipedia article on LOESS mentions a possibility of using a FIR filter for LOESS. I could not find anything more ...
5
votes
1answer
784 views

How does this “simple filter” work?

I'm new to DSP, and I'm using this basic "1-pole LPF" Param Smooth filter which "smooth" param when I change it. The code is pretty simple: ...
2
votes
2answers
567 views

Smoothing a staircase

I have some data from a position encoder, so naturally i want to estimate its speed. However, the data is very quantized, so it's difficult to smooth enough to differentiate easily: Each step level ...
3
votes
1answer
525 views

Smoothing a power spectrum

My question is regarding how one could/should smooth a rather noisy power spectrum obtained from measurements. There are various methods one can use (a moving average, binning, etc) and I am not sure ...
0
votes
2answers
582 views

The difference of downsampling an image and smoothing an image?

I am, at the moment, trying to read up on some simple computer vision elements, in which i have become a bit comfused on the terms downsampling and smoothing, and whether there is a difference between ...
1
vote
1answer
145 views

midpoint smoothing spline

Suppose we have a time series which have peaks and troughs.(The red curve below) I would like to get an algorithm which is able to identify the peaks and troughs locations, then find the midpoint ...
1
vote
1answer
81 views

Is there a name for this smoothing formula?

Hi: I am reading a book called "lectures on wiener and kalman filtering" by Professor Thomas Kailath. On page 18, it says the following: To carry through this approach, let us first note that a ...
3
votes
1answer
957 views

Gaussian Pyramid - How is Subsampling Rate Related to Sigma?

I found a gaussian pyramid implementation in a MOPS paper (feature detection). They use sampling rate $s=2$ and $\sigma=1$ - i.e. to generate a new level of the pyramid, the current level is smoothed ...
0
votes
2answers
89 views

What criteria should be used for smoothing

Actually I have some measurement which I want to get rid of noise I want to use different filter techniques but I am wondering what criteria I should use to check if I am removing noise or not or if ...
2
votes
2answers
2k views

detect to rising, stable and falling point in non-smooth rectangular wave

I am working on basic signal processing problems in MATLAB. I have found a signal from the internet (i don't remember the site exactly). The data is organized in column wise. 1st and 2nd column is ...
0
votes
0answers
78 views

Why does increased kernel bandwidth equate to increased SNR values?

If I apply a Gaussian Kernel to an image with some noise applied to it and I want to remove that noise, why does the Signal to Noise Ratio increase as I apply kernel's with higher and higher sigma ...
0
votes
2answers
351 views

Structuring Kalman filter for tracking problem where only position is known

I'm new to Kalman filters and my extensive web search about them has helped me understand the majority of it (or so I think). However I still need some light shed on my problem formulation. I have a ...
1
vote
0answers
36 views

Proximal operator of image Laplacian

Let $\alpha, \beta > 0$ and $\Delta := \nabla^T \nabla$ be the discrete laplacian operator, $$\nabla: \mathbb{R}^{n_x \times n_y \times n_z} \rightarrow \mathbb{R}^{3 \times n_x \times n_y \times ...
1
vote
1answer
396 views

Implementing a 1-D Kalman Filter Regression, Missing the smoothing action (getting the opposite)

I am implementing the 1D Kalman Filter in Python on a fundamentally noisy set of measurement data, and I should be observing a large amount of smoothing...but, instead, my Kalman Filter is doing the ...
1
vote
1answer
245 views

Get phase information from bursty time series with amplitude variability and sharp edges

I have time series like this one, and I am trying to get the phase information from it. If it matters why, because I need to compute the precision of the cycles and amplitude variability is ...
4
votes
2answers
814 views

How do I smooth this noisy signal?

I have a numerical solution to a problem in mechanics. I am computing the force applied to an object as a function of its deformation and in the problem, there is an instability, due to which the ...
0
votes
2answers
1k views

Compute the time derivative of a noisy digital signal?

The issue is that my signal is very noisy. I need extract its time derivative as accurate as possible. P.S. I do not have any prior knowledge on the signal (black box). On forums some suggested ...
2
votes
1answer
641 views

how to smooth estimated velocity

I have a manipulator that provides the position and the velocity of its end-effector. The velocity is noisy. I've implemented a filter in C++ to determine the derivative of the position. In the below ...
1
vote
1answer
42 views

What is the equivalent smoothing function to running the same Gaussian 8 times?

Suppose there is an image which is to be smoothed by convolving it with a Gaussian kernel with standard deviation $\sigma$. If the image is then smoothed with this kernel 8 consecutive times, is the ...
3
votes
1answer
226 views

Smoothing 3D Data for the Second Derivative

I am not a signal processing expert and my feeble attempts at solving this problem have come up short. I have a C++ application which is being fed regularly-spaced (in time) 3D position samples. The ...
0
votes
1answer
167 views

Cascaded one-pole sections and relationship to time constant

I have implemented a typical one-pole lowpass filter to smooth out some control signals. The form of the filter is: $$ y1 = x0 + b1\centerdot(y1 - x0) $$ x0 is the current input sample. y1 is the past ...
0
votes
4answers
117 views

How to obtain round peaks instead of triangular peaks when smoothing an input?

I have a signal (in blue) that I would like to smooth out (in red, moving average). I would like to get red peaks to look more round than triangular and at the same time their width would become ...
1
vote
0answers
131 views

Spatial resampling, how to smooth?

Sorry if this is not the right forum. Having a velocity grid in which a wave propagates, and given a certain spatial sampling of the grid, what kind of smoothing/interpolation should be used if the ...
0
votes
0answers
432 views

Computationally 'lightweight' smoothing in realtime

I have a pitch tracker that can be quite unsmooth in its output (in Hz). A Savitzky-Golay filter has been good at smoothing but it looks like it adds a lot of multiplies on top of the already ...
5
votes
1answer
778 views

Issues with the smoothing operator in coherence estimation using the complex Morlet (Gabor) wavelet

The goal I wish to compute the coherence estimate using the continuous wavelet transform (CWT) of a real-valued signal with the complex Morlet (a.k.a. Gabor) wavelet. I compute the cwt of the signal ...
1
vote
3answers
289 views

SURF feature extractor and descriptor

I am trying to understand how SURF extracts features using a Hessian matrix. What I am a bit confused about, is why a second derivative Gaussian filter is used, rather than a standard Gaussian filter?...
2
votes
5answers
16k views

Noise Removal from an image using Opencv

I tried removing noise from the image shown below using Median Blur in OpenCV. But i'm not able to remove the colour noise completely as it is done in Neat Image. Any suggestions.? 1. Original Input ...
0
votes
1answer
350 views

Transfer function of double exponential smoothing?

Double exponential smoothing a.k.a. Holt-Winters smoothing tracks level and trend of a time series in coupled IIRs: $\qquad$ In: $Y_t$, t = 0 1 2 ... $\qquad$ State: $L_t, T_t \quad$ -- level and ...