Questions tagged [smoothing]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
35 views

Is it applicable to implement a cascaded moving average filter with variable window on real-time?

I am using a 3-pass cascaded moving average filter for smoothing noisy data. I applied some optimization algorithms to determine the optimal length of the MAF window. For different amplitudes of data ...
0
votes
1answer
21 views

Error introduced by smoothing filter at the end of a processing block

I'm running analysis on a multichannel audio signal and due to the size have decided to process it in blocks (my computer doesn't have enough memory to process it in one go). Some of the data produced ...
6
votes
1answer
174 views

A Simple Algorithm to Filter / Smooth / Denoise a Noisy Staircase Graph

Is there a way to remove the noise and smooth the graph into a staircase graph.
0
votes
1answer
35 views

Possible to get transfer function coefficients from window?

I am hoping to use scipy.signals.filtfilt() to smooth some signals in Python, and wanted to build the filter based on a window like a hanning window or whatever. E....
3
votes
3answers
78 views

Reversing the Order of Operators for Edge Detection?

Usually, for edge detection, we perform smoothing and then pass it through difference filter. What if application of difference filter happens first and then smoothing. How the math behind the same ...
0
votes
0answers
16 views

how to do smoothing a linear noise adc signal to a exponencial curve to increase and logarithmic to decrease

I am studying methods of signal smoothing obtained in an Analog Digital converter that is operated by a common potentiometer that generates a certain noise, such potentiometer is linear and I cannot ...
0
votes
1answer
20 views

I want to get tilt sensor value for a given time t_0, but the tilt sensor data points are discrete. How do I interpolate between the discrete points?

I have 3-dimensional readings from a tilt sensor (specifically these are rotational angles about X, Y, and Z axes) over time. Let's call these angles S. I want to infer S at a specific time t_0, but ...
1
vote
2answers
94 views

How to properly smooth the phase of a spectrum (or any unit-complex function)

I want to smooth the phase of a measured (transfer) spectrum without destroying unit-complexity of the phase factor. Suppose $$f:\mathbb{R}\to \mathbb{C}\qquad , \qquad f(\omega)=r(\omega)\cdot {\rm e}...
0
votes
1answer
44 views

Smooth signal with Hanning

I have an acceleration record and i want to smooth it's spectrum by using a hanning window with Bandwidth=0.5 Hz. How could i do that? Example in python/matlab will be appreciated!
0
votes
2answers
80 views

Confused in Smoothing a signal in the Frequency domain

First of all i am new in DSP, so i have no solid education in the field. I have convert my time domain acceleration-seismic data to frequency using DFT and i am trying to smooth the DFT data, in ...
0
votes
0answers
25 views

Smoothing the signal by integrating and then differentiating using a gaussian CWT

Recently, I have started implementing CWT on accelerometer signals. A method stated in an article stated that the signal is smoothed by integrating and then differentiating the signal using a Gaussian ...
0
votes
0answers
69 views

Frequency Smoothing for Noise Reduction

I'm trying to understand the Noise Reduction implementation in Audacity and I was wondering how the Frequency Smoothing is implemented. Frequency Smoothing (bands): At values of 1 or higher, this ...
0
votes
3answers
134 views

How do you do signal averaging on a realtime data?

Smoothing algorithms implemented by me Exponential smoothing - https://www.openprocessing.org/sketch/771368 Moving Mean - https://www.openprocessing.org/sketch/540696 For example - a1+a2+a3+a4+... ...
0
votes
1answer
24 views

Smoothing a discrete function with point wise variances

In Stark's Introduction to numerical methods [1970] it suggests fitting local polynomials to smooth discrete data before the Fourier transform using least squares minimisation. This gives the ...
0
votes
1answer
29 views

Can you predict how long a discontinuity will take to reach its target if it is low pass filtered at a certain frequency?

Let's say you have a signal that relatively slowly rises from 0 to 1, then suddenly from one sample to the next drops back to 0, creating a sharp discontinuity. Let's say you run it through a one pole ...
0
votes
0answers
14 views

Smooth Cross-Fading [duplicate]

I want to cross-fade from one signal smoothly to another signal. Example: Signal1 = 5 Signal2 = 1 I already looked for algorithms/ procedures but could not find anything helpful. As I am not that ...
0
votes
2answers
103 views

Filterpy Kalman Filter batch processing with multiple measurement sources

In pythons module for kalman-filtering, filterpy, there is a function batch_filter() to batch filter a list of measurements that then can be used for RTS-smoothing. ...
2
votes
1answer
139 views

Kalman Filter EM Estimation of Covariances

The question might be very simple, but I get a strange result from Kalman Filter. Let us consider the simplest state-space model, the random walk plus noise: $$ y_{t} = x_{t} + \varepsilon_{t}\\ x_{t} ...
0
votes
0answers
27 views

Slew Rate Filter With Different Smoothing Factors in Each Direction

I'm smoothing the output of an ADC with a simple first order low pass filter. Of course the smoothing rate is the same whether the signal is rising or falling. Preferably the smoothing rate needs to ...
1
vote
0answers
51 views

Algorithm for smoothing the output of an object detector operating on a video?

Please could you point me towards an algorithm that takes a series of object detections performed on a frame by frame basis as input and outputs a filtered series of object detections in which the ...
0
votes
1answer
112 views

Selected bin oscilation in STFT

I am looking for a noisy signal using STFT. My window length is 128 and I am using 75% overlap. I am using a Hanning window before running the FFT process. I am using Quinn's 2nd estimator for ...
0
votes
0answers
68 views

temporal smoothing: FWHM of Gaussian kernel vs. window length of moving average

Suppose in one case I convolve Gaussian kernel with FWHM=10 samples. I would like to compare the result with moving average. My question: should I take the moving average window also 10 samples? In ...
0
votes
1answer
62 views

Continuous time double exponential filtering in state space form?

I'm trying to determine the continuous time formulation of the double exponential filter so that I can adapt it more flexibly for my particular problem. Typically, this model is expressed as a pair ...
1
vote
0answers
46 views

Difference Between a 1st Order SG Filter And a Least Squares Moving Average

I have been studying SG filters and i recently found another filter which seem to be commonly used in financial data smoothing which is the least-squares moving average, this filter is also called ...
1
vote
0answers
58 views

Implementing Edge Preserving Diffusion (Anisotropic Diffusion)

I am trying to implement edge preserving diffusion. Recall the general diffusion equation to be: $$\DeclareMathOperator{\Div}{div}\delta_t u = \Div(g \nabla u)$$ Where $g$ is the speed of the ...
4
votes
1answer
667 views

The Meaning of the Terms Isotropic and Anisotropic in the Total Variation Framework

The isotropic TV is defined as the estimation of 2-norm of gradients $\sqrt{(y_{i+1,j}-y_{i,j})^2+(y_{i,j+1}-y_{i,j})^2}$, while the anisotropic TV is defined as the estimation of 1-norm of gradients $...
0
votes
1answer
232 views

How to extract a smooth contour from a set of points in 3D?

I am trying to segment a 3D volume. The outcome of all my volume segmentation algorithms is a set of candidate points in 3D space. Now I need to smooth this point cloud and fit a closed surface it. My ...
1
vote
1answer
148 views

Classifying and filtering out noise from zero crossings

Note: I know absolutely nothing about zero crossings nor signal processing in general. However, I am doing programming exercises that require them. I've searched around but I cannot understand most of ...
2
votes
1answer
168 views

Fast Recursive 1D Signal Smoothing - IIR / Auto Regressive Implementation of Gaussian Smoothing

I have just begun to dive into the field of signal processing, but there is the need to program a digital filter, that has to smooth a realtime signal from a sensor device. As far as I know, in my ...
1
vote
0answers
72 views

Modified Bryson-Frazier (MBF) smoother explain

I'm reading about MBF smoother on Wikipedia. I'm confused of the quantity $\hat{\lambda}_k$ and $\tilde{\lambda}_k$. What does they really mean intuitively ? Why the update formula has the form $\...
3
votes
1answer
124 views

Chromatogram peak detection - bunching vs others?

Reading presentations from existing tool providers I noticed that in order to detect peaks they first use bunching (average N points) and then use slope and curvature to detect peaks. I'm guessing ...
1
vote
0answers
111 views

Are there any applications using absolute Savitzky-Golay filter to smooth data and preserve non-negative properties?

I want to smooth peaks for non-negative matrix factorization (NMF). Since Savitzky-Golay has polynomial smoothing, I think it is good for narrow peak shape in my signal profile. But NMF needs to be ...
5
votes
2answers
3k views

Why should an image be blurred using a Gaussian Kernel before downsampling?

I recently read that before downsampling an image, it should be blurred using a Gaussian Kernel. This way, the downsampled image is better than just picking a single pixel out of a NxN block or ...
11
votes
3answers
5k views

Savitzky–Golay filter vs. IIR or FIR linear filter

A traditional IIR / FIR filter (lowpass to remove the high freq oscillations), e.g. moving average, or a Savitzky-Golay filter can all be useful to smoothen a signal, such as an envelope signal: ...
2
votes
1answer
162 views

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

Could some review some methods to apply Gaussian Filter (Blur) on an image besides the direct one using Truncated FIR (classic convolution with Truncated Kernel) approximation?
1
vote
0answers
43 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
231 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} ...
6
votes
4answers
311 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
321 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
2answers
513 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
383 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
2k 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 ...
1
vote
1answer
58 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, ...
2
votes
2answers
112 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
2k 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
356 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
53 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
352 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 ...
1
vote
2answers
878 views

Effect of Gaussian Blur on Different Frequency Components of an 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
2k 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 ...