image median filter

On Wednesday, September 3, 2014 10:53:41 AM UTC-4, mahdiha...@gmail.com wrote:
hi

How to program filter the salt- pepper noise of image

1. Get an algorithm that models the noise
2. Code the algorithm in your language of choice
 
mahdihatamigh61@gmail.com wrote:
hi
How to program filter the salt- pepper noise of image

You could of course look up "median filter" on Wikipedia.

There really aren't that many variants to a median filter,
only the kernel size. The basics are to gather the kernel pixels
in one place (say 3 x 3 pixels) and then sort the values. Finally
take the central value after sorting. There are algorithms that
reduce the number of operations required given that you will
proceed from one pixel to the next pixel to its immediate right
for a typical raster image. These algorithms allow you to make
partial sorts that can be re-used. It's not clear whether this
would help an algorithm implemented in hardware, though.

--
Gabor
 
On 9/3/2014 9:53 AM, mahdihatamigh61@gmail.com wrote:
hi
How to program filter the salt- pepper noise of image
Here is an example of a median filter implemented
for an FPGA: http://www.fpgarelated.com/showarticle/578.php

Note, the article's main topic is not a median filter,
but it uses it as a simple example.

Regards,
Chris
 

Welcome to EDABoard.com

Sponsor

Back
Top