The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
1
vote
0answers
19 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
88 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
23 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
27 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
28 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
47 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 ...
2
votes
1answer
144 views

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
79 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
71 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 ...
0
votes
0answers
154 views

Spatial smoothing - 2D MUSIC [FMCW MIMO radar processing]

I'm using a 2D Music algorithm for the estimation of Range-Azimuth info in a ULA FMCW MIMO radar. The algorithm procedure is pretty simple as per Belfiori F., Application of 2D MUSIC Algorithm to ...
0
votes
1answer
97 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
38 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
100 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
81 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
2k 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 ...
10
votes
3answers
3k 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: ...
1
vote
1answer
127 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
41 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
210 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} ...
5
votes
4answers
289 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
189 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
339 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
239 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
918 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
51 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
99 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
1k 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
272 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
46 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
273 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
539 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 ...
26
votes
5answers
7k 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
2answers
2k 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 ...
2
votes
0answers
359 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 ...
4
votes
1answer
1k 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
997 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 ...
2
votes
1answer
1k 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
1k 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
191 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
104 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 ...
2
votes
1answer
2k 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 ...
1
vote
2answers
99 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 ...
3
votes
2answers
4k 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
2answers
680 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
42 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
645 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
303 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 ...
3
votes
2answers
1k 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
2k 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 ...