Questions tagged [median-filter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
54 views

Alternatives to the median filter

I have a embedded system where I get some type of sensor readings with varying frequency between 0.3 to 1 Hz. Sometimes these readings may have impulse like noise. To filter out this noise, I've ...
0
votes
0answers
30 views

27 points median filter

I trying to build 27 points long median filter on FPGA using Verilog. The filter is 1-D (used to clean noise from a spectrum - I want to clean some random peaks). I already built an 9 points median ...
1
vote
1answer
121 views

Salt and Pepper impulse Denoising opencv

I am creating a generic method to work on salt and pepper noise and variants. The example images are as shown below : I tried few methods, such as ...
3
votes
0answers
27 views

Inconsistant Variation in BLE Beacon RSSI Values for Distance Measurement

I am developing an application to estimate the distance to a BLE Beacon using its RSSi values measured from a Mobile Phone. But when I started to collect data I could see that they varied so much that ...
1
vote
0answers
337 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
48 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
92 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
308 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
5k 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 ...
1
vote
2answers
357 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 ...
4
votes
4answers
4k 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 ...
8
votes
3answers
21k 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 ...
1
vote
2answers
2k 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?
5
votes
1answer
7k 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 ...