Questions tagged [median-filter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
167 views

Accounting for Mechanical Vibration in Accelerometer Readings

I am very new to DSP so please forgive any ignorance within this post. I am working on a device which has a 6-axis IMU measuring acceleration and rotation. The device itself is attached to a ...
0
votes
1answer
35 views

Extract jump location in data

I would like to extract the location of data jump (see figure below), the difficulty is that the data are noisy as you can see. I try with a median filter or a other regularization and it could move ...
0
votes
1answer
66 views

is there a way to apply a median filter diagonally?

For example, some studies show how to smooth a spectrogram with a 2D median filter vertically and horizontally (along time or frequency). My question is how would I apply 2D median filter along the ...
2
votes
2answers
157 views

Forward/reverse median filter. Reference needed

I am using the double median filtering of my data. For this, I perform median filtering of the signal in forward direction, then in reverse direction (from end to start). Results are averaged. Example ...
5
votes
2answers
3k views

Why is the median filter called 'edge-preserving'?

I want to know about median filtering. Recently, I read that it is best for preserving edges. But how does it preserve edges? I need complete knowledge of median filters. Why it is non-linear filter ...
5
votes
3answers
15k views

Moving average vs. Moving median

I have read in many places that Moving median is a bit better than Moving average for some applications, because it is less sensitive to outliers. I wanted to test this assertion on real data, but I ...
3
votes
4answers
3k views

How to build a median filter function?

What algorithms are there for 1-d median filtering (sliding median, rolling median, running median), similar to MATLAB's medfilt1? Of interest would be a reference ...
1
vote
2answers
255 views

Median filter problems about the output image

An image has an isolated cluster of dark pixels on a light background. The area of the cluster is $(n - 1)/2$ pixels where $n$ is an odd positive integer. What happens to the cluster when it is ...
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?
3
votes
1answer
5k views

What is a “Hampel Filter” and how does it work?

One of the new functions in the MATLAB Signal Processing toolbox for R2015b is the Hampel Filter. It appears to be used for outlier removal and from the examples, it looks like it might do a better ...