Questions tagged [filtering]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
223 views

Easy way to get rid of noise in a hand drawing

I would like to take a user's hand drawn input, and filter out "noise", aka small sketches or blobs, where the user might have screwed up and accidentally touched his hand to the drawing device, or ...
0
votes
1answer
612 views

Filter and crop an image

I am a big fan of fft convolution. So, I mostly try to avoid non-fft convolution. Suppose, I am trying to convolute an image with another image. Suppose the first image is $512\times 512$, and, the ...
2
votes
2answers
939 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 ...
1
vote
0answers
28 views

How do I smooth-over transition from a time-series generated by one system to a time-series generated by another system?

So I have generated a time-series with length on 2N samples, where the first N are generated by one auto-regressive system and the N+1 to 2N are generated by another, similar, auto-regressive system. ...
2
votes
2answers
3k views

Root mean square bandwidth of a signal with flat spectrum

I am trying to derive a simple expression for root-mean-square bandwidth $B_{\rm rms}$ for a signal that has flat spectral density over its entire bandwidth $B$. The expression for the $B_{\rm rms}$ ...
1
vote
2answers
658 views

Convolution to do FIR with initial and final conditions!

I need to apply an FIR filter on chunks of very long signals. I can use MATLAB's filter function as follows to preserve the state of the filter when a new chunk of data is available: ...
1
vote
1answer
239 views

Shock filtering using structure tensor

my name is niladri, I am new to image processing(actually this is my first code). I want to implement shock filter using structure tensor. I have rough idea of what structure tensor is and implemented ...
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 ...
-1
votes
1answer
107 views

Do filters work on a “per sample basis”?

I'm confused because of filter length, whether (such) filters can be used to filter audio on a "per sample basis"? By per sample basis I mean that I would like to filter audio one sample at a time, ...
1
vote
2answers
429 views

Undoing a filter operation in MATLAB

Out of curiosity, is it possible to actually reverse a filtering on MATLAB. For example, if I have ...
1
vote
3answers
201 views

Adaptive filter with two inputs

I have general theoretical questions: Is it true that an adaptive filter with two inputs (one normal and one delayed by the single time increment) can completely get rid of any single frequency ...
1
vote
1answer
776 views

What are the advantages of higher order Kalman Filters like EKF, UKF?

Kalman Filter provides the optimal estimate of the states of a stochastic dynamical system if the system is linear, the measurements are also linear functions of states and the errors in system ...
1
vote
1answer
701 views

Causal and Non-causal filtering. Strange behavior

I'm trying to understand the behavior of a causal filtering exemplified by figure below. This behavior is making LDA (Linear Discriminant Analysis) misclassify our data, by clearly reverse the signal ...
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 ...
1
vote
1answer
120 views

How can a signal have two maximum frequency components?

$x(t)$ can be exactly reconstructed from its samples at $\omega_s = 10 \textrm{ rad/sec}$. My conclusion is that the maximum frequency component in $x(t)$ is $5\textrm{ rad/sec}$. But I'm being told ...
0
votes
1answer
127 views

A question about sampling theory

Let`s say I have a signal $m(t)=\cos(4\pi t) + \cos(6\pi t)$ so we can say the signal is containing frequencies $f_1= 2\mathrm{Hz}$ and $f_2= 3\mathrm{Hz}$. The cut-off frequency of the low pass ...
1
vote
1answer
2k views

Choosing correct filter parameters for IMU sensor datas

I have a IMU sensor breakoutboard using ITG3701, LSM303D LinkProduct. This involves accelerometer, gyroscope and magnetometer. I have connected the sensors to a Arduino and sending the datas to ...
0
votes
2answers
116 views

In fourier space, how to apply transfer function with n frequencies to input data with m>>n frequencies

I have a transfer function in Fourier space with $N=2028$ frequencies $(\frac {0, 1}{(N\cdot dx)} \dots ) $ Where $dx = 0.1m$. I need to apply this transfer function to a signal with 20000 samples (...
0
votes
1answer
111 views

iZotope RX's FFT processing?

How does iZotope RX handle the FFT (i.e. how does it manage to perform those processes in the frequency domain without creating glitches) since its able to e.g. Apply another DSP process (even time-...
2
votes
2answers
344 views

Filtering Frequency Bands Out of a Signal

Let's say I have a 2 second data set taken at 220Hz sample rate and I would like to filter out the frequency bands associated with the EEG Spectrum: $$\begin{align} \Delta:& [1,3]\text{ Hz}\\ \...
2
votes
0answers
80 views

maching convolution filters to results

I am practicing for an exam and I need help in the following question (it is just for me- no grade...) we get an input image, 6 convolution filters and 6 results. we need to find the matches between ...
1
vote
0answers
41 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 ...
2
votes
2answers
518 views

Filtering noise from FFT, where noise is known to be shifted delta function

I have an input sequence $x=\{x_1, x_2 , ... x_n\}$ of reals, where $n=2^m$ for some $m$. I wish to calculate FFT of $x$. $X=FFT(x)$ However, before I calculate the FFT, the signal $x$ gets ...
0
votes
1answer
135 views

Pulse shaping and Baseband filtering

I'm slightly confused about baseband pulse shaping. Let's assume I have a complex data vector in an arbitrary complex constellation (QAM for example). I would like to pass this complex vector through ...
2
votes
2answers
1k views

How to filter almost periodic noise?

I have signal that looks like this: As you can see there are some almost periodic pulses at the background with amplitude about 1000. I am saying almost, because, if you zoom in, you may see that ...
2
votes
0answers
126 views

Open source GPS+IMU sensor fusion?

Are there any Open source implementations of GPS+IMU sensor fusion (loosely coupled; i.e. using GPS module output and 9 degree of freedom IMU sensors)? -- kalman filtering based or otherwise I see a ...
3
votes
4answers
539 views

Removing Bounded Noise from an Audio Signal

I'm currently trying to remove some noise from a "contaminated" audio file. From what's given, I know that the noise is isolated to a specific frequency band - that is, from ~1400 Hz - ~1800 Hz. The ...
0
votes
0answers
1k views

Median Filter for salt and pepper noise removal

Why median filter is considered as good for removal of salt and pepper noise? What are the other filters used for the same?
2
votes
1answer
307 views

Overlap/Chunk processing possible with Zero-phase?

I'm relatively new to DSP and I'm currently investigating FIR filter and IIR filters. From what I've found FIR filters can be implemented efficiently using the overlap-save method, but I was wondering ...
1
vote
0answers
1k views

Implementing a 2d butterworth filter for image processing?

I am at the moment trying to implement a bandpass butter worth filter which i then can use to apply on my original image. Problem is though My implementation of it using OpenCV doesn't seem to be ...
0
votes
1answer
43 views

Why Would Pre Filtering Measurement Data Affect the Least Squares Estimate?

In estimating parameters in a discrete time model I've often seen the use of filters applied to the input data, before its applied to least squares processing. I've been told that the filters are ...
2
votes
1answer
2k views

Derive velocity and acceleration from position

I generate random spike data that represent the ouput from a rotary encoder. Here the output of my algorithm: The first plot is position, then velocity and then acceleration. Even though I downsample ...
1
vote
1answer
83 views

Filtering performance on Poisson noise with quadratic data-fidelity

We recently performed a work on signal filtering/component separation (sparse signal/trend/noise). The cost function contains: A quadratic data fidelity term, Some smoothed $\ell_1$ terms for ...
1
vote
1answer
292 views

How is the ends of a bandpass filtered signal reliable after applying the cosine taper?

A taper function decaying to zero at ends such as a cosine window is routinely applied to the signal before bandpass filtering to reduce end effects. Obviously the window alters the waveform. So, as ...
3
votes
1answer
787 views

Optimal windowing strategy for filtering live signal

I have a stream of 250 samples per second arriving at a pipeline stage which looks something like this simplified example. ...
1
vote
1answer
2k views

What is a 'notch' in image processing?

I cannot find out what does "notch" means in image processing? We have selective filters that one of the best of them is Notch filters. but what does the concept of "Notch"? why they are called "...
1
vote
1answer
36 views

How to reconstruct the signal if there were some temporary offsets

I am not a signal processing expert. I have data like this: where the red is what I have and the black is what I want to have. Any idea how to reconstruct this? The code for generating the data is ...
0
votes
2answers
40 views

Adding channel effects to a signal

I have a a channel matrix "H" that is circulant. I have data blocks. I want to add the channel effects to the signal. When H was only a vector of channel coefficients I would say: ...
0
votes
0answers
406 views

What is Single pole filter?

Can anybody tell me why do we use single pole filter? And may be an example of Single pole filter in matlab. Good literature recommendations are also welcomed.Moreover, that would be good if anyone ...
0
votes
0answers
27 views

If a signal is added to another in the freq. domain, how to filter it out?

I have two signals, $x$ and $y$. I know that $F(x)=F(s)+F(n)$ and $F(y)=F(n)$, where $s$ is the 'clean' signal, $n$ is the added noise and $F$ donate Fourier Transform. To obtain the clean signal, I ...
0
votes
2answers
82 views

Can filter “depth” be adjusted by mixing dry and wet signals?

Can filter "depth" be adjusted by mixing dry and wet signals? I.e. can I simulate e.g. a +6dB bandshelf/peak filter at 1kHz by mixing in some of the dry unequalized signal and some of a wet signal ...
0
votes
2answers
1k views

MATLAB : How to filter a data signal

I have a data signal (column vector) with N values taken over at specific sample rate (dx) at a fixed frequency. After taking the Fourrier transform of this signal and representing it in the Fourier ...
1
vote
2answers
2k views

Filtering out a specific frequency in an analog signal

I'm wondering how I would go about filtering out a regular sine-wave signal with a constant frequency and voltage. I'm really new to the whole DSP-area but imagine I would have a regular sinewave at ...
0
votes
0answers
554 views

What is pulse train filter?

I have recently seen some code written in modelling tool like Simulink, ASCET which uses PT1 filter? Why do we use a pulse train filter? What is the difference between FIR, IIR, Chebyschev, ...
1
vote
3answers
44 views

Texture-like measures for quantifying density of data in binary images

Consider the following black-and-white image. It depicts a freehand sketch. I wish to characterize the "density" of sketch strokes. For e.g. the hair strokes are densely grouped together. So are ...
1
vote
1answer
90 views

Contour based blurring

Suppose I have an image of a cat and a binary mask image corresponding to cat's location as shown I would like to blur the image region surrounding the cat but as a function of distance from the cat'...
3
votes
4answers
7k views

difference between mean filter and order statistic filter

I am working on my paper about comparing between mean filter and ordering statistics filter, The mean filter is contraharmonic mean filter and the ordering statistic filter is alphatrimmed mean filter....
1
vote
2answers
589 views

Discrete Sinusoidal to State Space

I'm looking to apply an optimal LQR filter to a discrete signal of the form $x[n]=A\sin[\omega_0n + \phi]+ v[n]$ The amplitude $A$ and the phase $\phi$ are unknown variables I want to estimate using ...
0
votes
0answers
166 views

MATLAB, recover a signal that has a cosinusoidal interference and that has been AM modulated

I have a signal which has been AM modulated but the channel also added a cosinusoidal interference A cos(2 * Pi * f0 * n * Tc + Phase), at the same ...
0
votes
2answers
5k views

How to Calculate Gaussian Kernel for a Small Support Size?

How to calculate the values of Gaussian kernel? I think I understand the principle of it weighting the center pixel as the means, and those around it according to the $\sigma$ but what would each ...