Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is a Median Filter ?

Status
Not open for further replies.

DigitalScholar

Newbie level 6
Joined
Jan 3, 2005
Messages
13
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
109
What is a Median Filter ? Is there any open source implementations available ?
 

Here is a description:
**broken link removed**
 

hi,
check this discussion

pimr
 

it's a simple nolinear filter ,sometimes use for graph processing
 

Here's a simple one for real time data:

// Insert rawdata into array with insertion sort
if (datacount==0) datavals[0]=mcdataval;
for (i=datacount-1; i >=0; i--)
{
if (rawdataval < datavals) datavals[i+1]=datavals;
else
{
datavals[i+1]=rawdataval;
break;
}
}
if (++datacount==16)
{
datacount=0;
mcdataval=(datavals[7]+datavals[8])>>1;
}
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top